PackageManagement

1.2.0-preview

PackageManagement (a.k.a. OneGet) is a new way 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 r
PackageManagement (a.k.a. OneGet) is a new way 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
 - Seamlessly install, uninstall, and inventory packages from one or more software repositories

Minimum PowerShell version

3.0

This is a prerelease version of PackageManagement.

Installation Options

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

Install-Module -Name PackageManagement -RequiredVersion 1.2.0-preview -AllowPrerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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

Author(s)

Microsoft Corporation

Copyright

(C) Microsoft Corporation. All rights reserved.

Owners

Tags

PackageManagement Linux Mac

Cmdlets

Find-Package Get-Package Get-PackageProvider Get-PackageSource Install-Package Import-PackageProvider Find-PackageProvider Install-PackageProvider Register-PackageSource Set-PackageSource Unregister-PackageSource Uninstall-Package Save-Package

DSCResources

PackageManagement PackageManagementSource

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

## 1.2.0-preview
A preview version of PackageManagement with NuGet v3 support. Currently we've only verified MyGet and NuGet.org implementations. Please log bugs with other server implementations if there are issues. Also please note any performance issues.
### New features
- Register and use a NuGet v3 URL
```powershell
Register-PackageSource -Name NuGet3 -Location https://api.nuget.org/v3/index.json -ProviderName NuGet
Find-Package awssdk -Source NuGet3
```
- Prototype argument completer without proxy support. Either only a NuGet v3 source must be registered for NuGet provider OR a NuGet v3 source must be specified before the -Name parameter. The script is currently only available on GitHub [here](https://github.com/OneGet/NuGetProvider/blob/3e9e185f1087cabf1e451cca41ea57abe07a92d3/Register-FindPackageNuGetArgumentCompleter.ps1)
```powershell
.\Register-FindPackageNuGetArgumentCompleter.ps1
Find-Package -Source NuGet3 -Name <tab>
```
### Breaking changes
- Searching for a package term with the -AllVersions switch is no longer allowed. This is due to concerns about stressing search services.
```powershell
Find-Package aws* -AllVersions # Not allowed
Find-Package awssdk -AllVersions # Allowed
```

Version History

Version Downloads Last updated
1.3.1 1,074,562 1/30/2019
1.2.4 857,712 12/1/2018
1.2.2 708,615 10/12/2018
1.2.0-preview (current version) 76,774 12/20/2017
1.1.7.2 3,001,819 5/4/2018
1.1.7.0 683,104 10/31/2017
1.1.6.0 29,868 9/11/2017
1.1.4.0 41,767 5/24/2017
1.1.3.0 18,307 3/4/2017
1.1.1.0 48,373 11/11/2016
1.1.0.0 1,980 9/29/2016
Show less