publish.ps1

$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$module = "dos-install-common-azure"

Import-Module PowerShellGet

Get-Module "$module" | Remove-Module -Force

Import-Module "$here\$module.psm1" -Force -Verbose

#$apikey = Read-Host -Prompt "Please enter the API key"
$apikey="oy2m6lwrtoeun6kynxeqa7xydcgv3ssuflnupnwtzqf2nq"
Publish-Module -Name "$here\$module.psm1" -NuGetApiKey $apikey