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:

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-PSRepository. See the following article for further details:
https://blogs.msdn.microsoft.com/powershell/2014/05/20/setting-up-an-internal-powershellget-repository/.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.85.135