Skip to content
No description, website, or topics provided.
PowerShell
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ProductivityTools.PSPublishModuleToPowershellGallery
.gitignore
PowershellGallery.url
ProductivityTools.PSPublishModuleToPowershellGallery.sln
ProductivityTools.url
README.md

README.md

ProductivityTools.PSPublishModuleToPowershellGallery

Module finds psd1 file in current directory (recursive) and pushes it to www.powershellgallery.com portal.

Module is dependent on Publish-ModuleTo and improves command by pushing to powershell gallery (you don’t need to provide name of repository). It uses MasterConfiguration PSRepositoryApiKey key. So before use you need to setup configuration with command:

Set-MasterConfiguration -Key PSRepositoryApiKey -Value "xxx"

Next you can just go to the directory where psd1 file is placed (or parent) and invoke:

Publish-ModuleToPowershellGallery

And that is it. Module should be pushed automatically

You can’t perform that action at this time.