InstallModule.ps1


$fullpath = $env:PSModulePath -split ":(?!\\)|;|," |
Where-Object { $_ -notlike ([System.Environment]::GetFolderPath("UserProfile") + "*") -and $_ -notlike "$pshome*" } | 
Select-Object -First 1

$fullPath = Join-Path $fullPath -ChildPath "Hcl2PS"

Push-location $PSScriptRoot
Robocopy . $fullPath /mir /XD .vscode images .git .github /XF README.md .gitattributes .gitignore install.ps1 InstallModule.ps1 PublishToGallery.ps1
Pop-Location