NuGet provider for AnyPackage.
Install-PSResource AnyPackage.NuGetImport-Module AnyPackage.NuGetFind-Package -Name System.Management.AutomationGets installed packages from the NuGet global packages directory.
Get-PackageInstalls packages to the NuGet global packages directory.
Install-Package -Name System.Management.AutomationInstall-Package -Name Avalonia -Provider NuGet -Framework netstandard2.0Install-Package -Name Avalonia -Provider NuGet -DependencyBehavior HighestSaves packages to a directory.
Save-Package -Name System.Management.Automation -Path C:\TempGet-PackageSource$params = @{
    Name            = 'nuget.org'
    Location        = 'https://api.nuget.org/v3/index.json'
    Provider        = 'NuGet'
    ProtocolVersion = 3
}
Register-PackageSource @paramsSet-PackageSource -Name nuget.org -Location urlUnregister-PackageSource -Name nuget.org