Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
You can’t perform that action at this time.