PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities and Scripts.

Minimum PowerShell version


This is a prerelease version of PowerShellGet.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PowerShellGet -AllowPrerelease -Force

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


(c) Microsoft Corporation. All rights reserved.



PackageManagement Linux Mac Windows


Find-PSResource Get-PSResourceRepository Get-PSResource Install-PSResource Register-PSResourceRepository Save-PSResource Set-PSResourceRepository Publish-PSResource Uninstall-PSResource Unregister-PSResourceRepository Update-PSResource


PSModule PSRepository


Desktop Core


This module has no dependencies.

Release Notes

### 3.0.0-beta10
# Changelog
Bug Fixes
* Bug fix for -ModuleName (used with -Version) in Find-PSResource returning incorrect resource type
* Make repositories unique by name
* Add tab completion for -Name parameter in Get-PSResource, Set-PSResource, and Unregister-PSResource
* Remove credential argument from Register-PSResourceRepository
* Change returned version type from 'NuGet.Version' to 'System.Version'
* Have Install output verbose message on successful installation (error for unsuccessful installation)
* Ensure that not passing credentials does not throw an error if searching through multiple repositories
* Remove attempt to remove loaded assemblies in psm1

### 3.0.0-beta9
New Features
* Add DSCResources

Bug Fixes
* Fix bug related to finding dependencies that do not have a specified version in Find-PSResource
* Fix bug related to parsing 'RequiredModules' in .psd1 in Publish-PSResource
* Improve error handling for when repository in Publish-PSResource does not exist
* Fix for unix paths in Get-PSResource, Install-PSResource, and Uninstall-PSResource
* Add debugging statements for Get-PSResource and Install-PSResource
* Fix bug related to paths in Uninstall-PSResource

### 3.0.0-beta8
New Features
* Add Type parameter to Install-PSResource
* Add 'sudo' check for admin privileges in Unix in Install-PSResource

Bug Fixes
* Fix bug with retrieving installed scripts in Get-PSResource
* Fix bug with AllUsers scope in Windows in Install-PSResource
* Fix bug with Uninstall-PSResource sometimes not fully uninstalling
* Change installed file paths to contain original version number instead of normalized version

### 3.0.0-beta7
New Features
* Completed functionality for Update-PSResource
* Input-Object parameter for Install-PSResource

Bug Fixes
* Improved experience when loading module for diffent frameworks
* Bug fix for assembly loading error in Publish-PSResource
* Allow for relative paths when registering psrepository
* Improved error handling for Install-PSResource and Update-PSResource
* Remove prerelease tag from module version directory
* Fix error getting thrown from paths with incorrectly formatted module versions
* Fix module installation paths on Linux and MacOS

### 3.0.0-beta6
New Feature
* Implement functionality for Publish-PSResource

### 3.0.0-beta5
* Note: 3.0.0-beta5 was skipped due to a packaging error

### 3.0.0-beta4
New Feature
* Implement -Repository '*' in Find-PSResource to search through all repositories instead of prioritized repository

Bug Fix
* Fix poor error handling for when repository is not accessible in Find-PSResource

### 3.0.0-beta3
New Features
* -RequiredResource parameter for Install-PSResource
* -RequiredResourceFile parameter for Install-PSResource
* -IncludeXML parameter in Save-PSResource

Bug Fixes
* Resolved paths in Install-PSRsource and Save-PSResource
* Resolved issues with capitalization (for unix systems) in Install-PSResource and Save-PSResource

### 3.0.0-beta2
New Features
* Progress bar and -Quiet parameter for Install-PSResource
* -TrustRepository parameter for Install-PSResource
* -NoClobber parameter for Install-PSResource
* -AcceptLicense for Install-PSResource
* -Force parameter for Install-PSResource
* -Reinstall parameter for Install-PSResource
* Improved error handling

### 3.0.0-beta1
* Preview version of PowerShellGet. Many features are not fully implemented yet. Please see https://devblogs.microsoft.com/powershell/powershellget-3-0-preview1 for more details.

Version History

Version Downloads Last updated
3.0.0-beta10 (current version) 3,944 9/5/2020
3.0.0-beta1 2,626 3/30/2020
2.2.5 7,450,327 9/22/2020 11,870,511 4/22/2020
2.2.4 176,605 4/16/2020
2.2.3 2,310,209 12/23/2019
2.2.2 242,487 12/11/2019
2.2.1 2,821,962 8/16/2019
2.2 781,674 7/9/2019
2.1.5 482,251 6/18/2019
2.1.4 565,449 5/21/2019
2.1.3 158,579 5/14/2019
2.1.2 1,041,244 3/15/2019
2.1.1 19,374 3/14/2019
2.1.0 94,371 3/8/2019
2.0.4 940,987 1/15/2019
2.0.3 814,629 11/19/2018
2.0.1 990,409 9/24/2018
2.0.0 211,282 9/13/2018
1.6.7 472,282 8/17/2018
1.6.6 818,892 7/2/2018
1.6.5 801,036 5/17/2018
1.6.0 808,090 12/5/2017 162,258 10/9/2017 24,268 8/8/2017 75,619 5/16/2017 24,306 12/5/2016 2,060 10/12/2016 698 9/29/2016
Show less