PowerShell module to create and manage Nuspec manifests and NuGet packages.

Minimum PowerShell version


Installation Options

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

Install-Module -Name bca.Nuget

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name bca.Nuget

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



(c) 2020 Bca. All rights reserved.

Package Details


  • Baptiste Cabrera


Package Packaging PackageManager NuGet Windows Linux MacOS


Add-NuspecContentFile Add-NuspecDependency Add-NuspecFile ConvertTo-NuspecManifest Get-NuGetPath Get-NuspecProperty Get-NuspecSchema Install-NuGet Invoke-NuGetCommand New-NuGetPackage Resolve-NuspecProperty Resolve-NuspecRepository Save-NuspecManifest Set-NuspecLicense Set-NuspecProperty Set-NuspecRepository Test-NuspecManifest Update-NuGet


Release Notes

- Invoke-NuGetCommand is now cross platform;
- Resolve-Nuspecproperty and Set-NuspecProperty now supporting repository, icon and requireLicenseAcceptance prpoperties;
- Resolve-NuspecRepository: new function that resolves a repository object from an URL;
- Set-NuspecRepository: new function that sets the repository property to a Nuspec manifest;
- Now distributed under license MIT.

- This version now supports certain Chocolatey-specific properties in ConvertTo-NuspecManifest, Resolve-NuspecProperty and Set-NuspecProperty;
- Save-NuspecManifest: New function to save a Nuspec manifest to a file;
- Set-NuspecLicense: Force switch now removes licenseUrl if it had specified;
- Get-NuspecProperty: Value now returns an array instead of a list of nodes if multiple (e.g. property name dependencies will return an array of id and version as the value instead of an array of dependency);
- Bug fixes.


Version History

Version Downloads Last updated
0.2.0 (current version) 8,957 9/18/2020
0.1.1 48 9/11/2020
0.0.8 102 7/12/2020
0.0.6 25 7/11/2020