Module-Start/01.install-prerelease-module.ps1

Write-Host "Hello from Module-Start script 01"

Write-Host "Register a file share on my local machine"
Register-PSRepository `
  -Name LocalPSRepo `
  -SourceLocation '\\localhost\PSRepoLocal\' `
  -ScriptSourceLocation '\\localhost\PSRepoLocal\' `
  -InstallationPolicy Trusted

Write-Host "Publish module to local repository"
Publish-Module `
  -Path "$PsScriptRoot\module-starter-pack" `
  -NuGetApiKey "..." `
  -Repository LocalPSRepo `
  -AllowPrerelease `
  -Force

Write-Host "Goodbye from Module-Start script 01"