InstallModule.ps1
$fullPath = @() $moduleName = 'PowerShellNotebook' # v5.1 $fullPath += 'C:\Program Files\WindowsPowerShell\Modules\' # v7.0 $fullPath += 'C:\Users\Douglas\Documents\PowerShell\Modules\' foreach ($path in $fullPath) { $path += $moduleName Robocopy . $path /mir /XD .vscode .git images /XF .gitattributes .gitignore } |