Skip to content

PackageManagement

jasper-zanjani edited this page Aug 5, 2020 · 1 revision

The OneGet module was renamed PackageManagement years ago.

Cmdlet Description
Find-Package Finds software packages in available package sources.
Get-Package Returns a list of all software packages that have been installed by using Package Management.
Install-Package Installs one or more software packages.
Save-Package Saves packages to the local computer without installing them.
Uninstall-Package Uninstalls one or more software packages.
Find-PackageProvider Returns a list of Package Management package providers available for installation.
Get-PackageProvider Returns a list of package providers that are connected to Package Management.
Import-PackageProvider Adds Package Management package providers to the current session.
Install-PackageProvider Installs one or more Package Management package providers.
Get-PackageSource Gets a list of package sources that are registered for a package provider.
Register-PackageSource Adds a package source for a specified package provider.
Set-PackageSource Replaces a package source for a specified package provider.
Unregister-PackageSource Removes a registered package source.
Clone this wiki locally