PackageManagement (previously referred as OneGet) is a new feature introduced in PowerShell 5.0 to discover and install software packages from around the web. It is a manager or multiplexor of existing package managers (also called package providers) that unifies Windows package management with a single Windows PowerShell interface. With PackageManagement, you can do the following.
Manage a list of software repositories in which packages can be searched, acquired, and installed
Discover software packages you need
Seamlessly install, uninstall, and inventory packages from one or more software repositories
To see the commands supported by PackageManagement, use the Get-Command as given below.
C:\> Get-Command -Module PackageManagement | ft -Property Name, Version, Source
Name Version Source
---- ------- ------
Find-Package 22.214.171.124 PackageManagement
Get-Package 126.96.36.199 PackageManagement
Get-PackageProvider 188.8.131.52 PackageManagement
Get-PackageSource 184.108.40.206 PackageManagement
Install-Package 220.127.116.11 PackageManagement
Register-PackageSource 18.104.22.168 PackageManagement
Save-Package 22.214.171.124 PackageManagement
Set-PackageSource 126.96.36.199 PackageManagement
Uninstall-Package 188.8.131.52 PackageManagement
Unregister-PackageSource 184.108.40.206 PackageManagement
By default a set of providers with sources are configured in PackageManagement. You can use the Get-PackageSource cmdlet to see the available sources.
PS C:\> Get-PackageProvider | select name
PS C:\> Get-PackageSource -ProviderName Chocolatey | ft ProviderName, IsTrusted, IsRegistered, Location
ProviderName IsTrusted IsRegistered Location
------------ --------- ------------ --------