Skip to content

Package management

PowerShell Package Management allows you to find, install, update and uninstall PowerShell Modules and other packages.

PowerShellGallery.com is the default source for PowerShell modules. You can also browse the site for available packages, command and preview the code.

To find a module that ends with DSC

Terminal window
Find-Module -Name *DSC

Create the default PowerShell Module Reposity

Section titled “Create the default PowerShell Module Reposity”

If for some reason, the default PowerShell module repository PSGallery gets removed. You will need to create it. This is the command.

Terminal window
Register-PSRepository -Default
Terminal window
Find-Module -Name <Name>
Terminal window
Install-Module -Name <name>
Terminal window
Uninstall-Module -Name <Name> -RequiredVersion <Version>
Terminal window
Update-Module -Name <Name>