Publish.ps1
# Do not forget to increase the module version before # publishing the module. The version is set in the psd1 file. Write-Host "Publishing module . . . " $publishInfo = @{Repository="MyRepository";Path="."} Write-Host "PublishInfo: $publishInfo" Publish-Module @publishInfo Write-Host "Done " Read-Host "Press key to exit" |