What is PowerShellGet?
The PowerShellGet module includes cmdlets for accessing and publishing items in the PowerShell Gallery.
When you use the cmdlets in the PowerShellGet module for the first time, you're prompted to install the NuGet provider. NuGet is a package manager that can obtain and install packages on Windows. The cmdlets in the PowerShellGet module use the functionality in NuGet to interact with the PowerShell Gallery.
The following table lists the two cmdlets used most often to find content in the PowerShell Gallery.
Table 1: Cmdlets used to find content in the PowerShell Gallery
Private PowerShell Gallery
You can implement a private PowerShell gallery for your organization by creating your own NuGet feed. You can create a NuGet feed with a file share or a web-based application. When you have a private PowerShell gallery, you must register the NuGet feed by using the Register-PSRepository cmdlet and specifying the source location. After the repository is registered, users can search it, just like the PowerShell Gallery.
Additional reading: For more information about creating a NuGet feed, refer to Hosting your own NuGet feeds.
No comments:
Post a Comment