InstallLocally.ps1
cls $ModuleName = "PowerShellHumanizer" $ModuleFile = "{0}.psm1" -f $ModuleName $ModulePath = Join-Path $env:USERPROFILE Documents\WindowsPowerShell\Modules $TargetModulePath = Join-Path $ModulePath $ModuleName $TargetModule = Join-Path $TargetModulePath $ModuleFile if(!(Test-Path $TargetModulePath)) { md $TargetModulePath | Out-Null } Copy-Item .\PowerShellHumanizer.psm1 $TargetModule -Verbose dir *.ps1 | % {cp $_ $TargetModulePath -Verbose} |