Skip to content

Instantly share code, notes, and snippets.

@vMarkusK
Created June 1, 2016 13:04
Show Gist options
  • Save vMarkusK/9913ac02d4596cc35eef56fb1cf10616 to your computer and use it in GitHub Desktop.
Save vMarkusK/9913ac02d4596cc35eef56fb1cf10616 to your computer and use it in GitHub Desktop.
Publishes a PowerShell Module to PowerShell Gallery
$Path = 'C:\Users\mkraus\Documents\GitHub\PowerShell-Gallery-Test\PSGallery-Test'
$PublishParams = @{
NuGetApiKey = 'your-API-key' # Swap this out with your API key
Path = $Path
}
Publish-Module @PublishParams
Find-Module PSGallery-Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment