What is the PowerShell Gallery?
The PowerShell Gallery is a repository and distribution platform for scripts, modules, and Desired State Configuration (DSC) resources that have been written by Microsoft or other users of PowerShell.
In February 2016, Microsoft made the PowerShell Gallery public.
The PowerShell Gallery has parallels in other scripting languages, as shown in the following examples:
- Perl has
cpan.org
- Python has PyPI
- Ruby has RubyGems
Support for the gallery is included by default in PowerShell 5. For PowerShell 3 and 4, PowerShellGet (via the PackageManagement PowerShell
modules preview package) must be installed:
https://www.microsoft.com/en-us/download/details.aspx?id=51451
The PowerShell Gallery may be searched using https://www.powershellgallery.com:
Note
Private PowerShell Gallery
:An internal version of the PowerShell Gallery may be configured based on the NuGet Gallery project:https://github.com/NuGet/NuGetGallery
Once available, the repository may be registered using Register...