PublishModuleToGallery.ps1

$p = @{
    Name = "PSVersion"
    NuGetApiKey = $NuGetApiKey
}

Publish-Module @p