PowerShellGet

2.2.5

PowerShell module with commands for discovering, installing, updating and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities and Scripts.

Minimum PowerShell version

3.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name PowerShellGet -RequiredVersion 2.2.5 -Force

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

Install-PSResource -Name PowerShellGet -Version 2.2.5

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

Owners

Copyright

(c) Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Packagemanagement Provider Linux Mac

Functions

Find-Command Find-DSCResource Find-Module Find-RoleCapability Find-Script Get-CredsFromCredentialProvider Get-InstalledModule Get-InstalledScript Get-PSRepository Install-Module Install-Script New-ScriptFileInfo Publish-Module Publish-Script Register-PSRepository Save-Module Save-Script Set-PSRepository Test-ScriptFileInfo Uninstall-Module Uninstall-Script Unregister-PSRepository Update-Module Update-ModuleManifest Update-Script Update-ScriptFileInfo

DSCResources

PSModule PSRepository

PSEditions

Desktop Core

Dependencies

Release Notes

### 2.2.5
- Security patch for code injection bug

### 2.2.4.1
- Remove catalog file

### 2.2.3
- Update `HelpInfoUri` to point to the latest content (#560)
- Improve discovery of usable nuget.exe binary (Thanks bwright86!) (#558)

### 2.2.2
Bug Fix

- Update casing of DscResources output

### 2.2.1
Bug Fix

- Allow DscResources to work on case sensitive platforms (#521)
- Fix for failure to return credential provider when using private feeds (#521)

## 2.2
Bug Fix

- Fix for prompting for credentials when passing in -Credential parameter when using Register-PSRepository

## 2.1.5
New Features

- Add and remove nuget based repositories as a nuget source when nuget client tool is installed (#498)

Bug Fix

- Fix for 'Failed to publish module' error thrown when publishing modules (#497)

## 2.1.4
- Fixed hang while publishing some packages (#478)

## 2.1.3
New Features

- Added -Scope parameter to Update-Module (Thanks @lwajswaj!) (#471)
- Added -Exclude parameter to Publish-Module (Thanks @Benny1007!) (#191)
- Added -SkipAutomaticTags parameter to Publish-Module (Thanks @awickham10!) (#452)

Bug Fix

- Fixed issue with finding modules using macOS and .NET Core 3.0

## 2.1.2

New Feature

- Added support for registering repositories with special characters

## 2.1.1

- Fix DSC resource folder structure

## 2.1.0

Breaking Change

- Default installation scope for Update-Module and Update-Script has changed to match Install-Module and Install-Script. For Windows PowerShell (version 5.1 or below), the default scope is AllUsers when running in an elevated session, and CurrentUser at all other times.
 For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser. (#421)

Bug Fixes

- Update-ModuleManifest no longer clears FunctionsToExport, AliasesToExport, nor NestModules (#415 & #425) (Thanks @pougetat and @tnieto88!)
- Update-Module no longer changes repository URL (#407)
- Update-ModuleManifest no longer preprends 'PSGet_' to module name (#403) (Thanks @ThePoShWolf)
- Update-ModuleManifest now throws error and fails to update when provided invalid entries (#398) (Thanks @pougetat!)
- Ignore files no longer being included when uploading modules (#396)

New Features

- New DSC resource, PSRepository (#426) (Thanks @johlju!)
- Piping of PS respositories (#420)
- utf8 support for .nuspec (#419)

## 2.0.4

Bug Fix
* Remove PSGallery availability checks (#374)

## 2.0.3

Bug fixes and Improvements
* Fix CommandAlreadyAvailable error for PackageManagement module (#333)
* Remove trailing whitespace when value is not provided for Get-PSScriptInfoString (#337) (Thanks @thomasrayner)
* Expanded aliases for improved readability (#338) (Thanks @lazywinadmin)
* Improvements for Catalog tests (#343)
* Fix Update-ScriptInfoFile to preserve PrivateData (#346) (Thanks @tnieto88)
* Import modules with many commands faster (#351)

New Features
* Tab completion for -Repository parameter (#339) and for Publish-Module -Name (#359) (Thanks @matt9ucci)

## 2.0.1

Bug fixes
- Resolved Publish-Module doesn't report error but fails to publish module (#316)
- Resolved CommandAlreadyAvailable error while installing the latest version of PackageManagement module (#333)

## 2.0.0

Breaking Change
- Default installation scope for Install-Module, Install-Script, and Install-Package has changed. For Windows PowerShell (version 5.1 or below), the default scope is AllUsers when running in an elevated session, and CurrentUser at all other times.
 For PowerShell version 6.0.0 and above, the default installation scope is always CurrentUser.

## 1.6.7

Bug fixes
- Resolved Install/Save-Module error in PSCore 6.1.0-preview.4 on Ubuntu 18.04 OS (WSL/Azure) (#313)
- Updated error message in Save-Module cmdlet when the specified path is not accessible (#313)
- Added few additional verbose messages (#313)

## 1.6.6

Dependency Updates
* Add dependency on version 4.1.0 or newer of NuGet.exe
* Update NuGet.exe bootstrap URL to https://aka.ms/psget-nugetexe

Build and Code Cleanup Improvements
* Improved error handling in network connectivity tests.

Bug fixes
- Change Update-ModuleManifest so that prefix is not added to CmdletsToExport.
- Change Update-ModuleManifest so that parameters will not reset to default values.
- Specify AllowPrereleseVersions provider option only when AllowPrerelease is specified on the PowerShellGet cmdlets.

## 1.6.5

New features
* Allow Pester/PSReadline installation when signed by non-Microsoft certificate (#258)
 - Whitelist installation of non-Microsoft signed Pester and PSReadline over Microsoft signed Pester and PSReadline.

Build and Code Cleanup Improvements
* Splitting of functions (#229) (Thanks @Benny1007)
 - Moves private functions into respective private folder.
 - Moves public functions as defined in PSModule.psd1 into respective public folder.
 - Removes all functions from PSModule.psm1 file.
 - Dot sources the functions from PSModule.psm1 file.
 - Uses Export-ModuleMember to export the public functions from PSModule.psm1 file.

* Add build step to construct a single .psm1 file (#242) (Thanks @Benny1007)
 - Merged public and private functions into one .psm1 file to increase load time performance.

Bug fixes
- Fix null parameter error caused by MinimumVersion in Publish-PackageUtility (#201)
- Change .ExternalHelp link from PSGet.psm1-help.xml to PSModule-help.xml in PSModule.psm1 file (#215)
- Change Publish-* to allow version comparison instead of string comparison (#219)
- Ensure Get-InstalledScript -RequiredVersion works when versions have a leading 0 (#260)
- Add positional path to Save-Module and Save-Script (#264, #266)
- Ensure that Get-AuthenticodePublisher verifies publisher and that installing or updating a module checks for approprite catalog signature (#272)
- Update HelpInfoURI to 'https://go.microsoft.com/fwlink/?linkid=855963' (#274)


## 1.6.0

New features
* Prerelease Version Support (#185)
 - Implemented prerelease versions functionality in PowerShellGet cmdlets.
 - Enables publishing, discovering, and installing the prerelease versions of modules and scripts from the PowerShell Gallery.
 - [Documentation](https://docs.microsoft.com/en-us/powershell/gallery/psget/module/PrereleaseModule)

* Enabled publish cmdlets on PWSH and Nano Server (#196)
 - Dotnet command version 2.0.0 or newer should be installed by the user prior to using the publish cmdlets on PWSH and Windows Nano Server.
 - Users can install the dotnet command by following the instructions specified at https://aka.ms/dotnet-install-script.
 - On Windows, users can install the dotnet command by running *Invoke-WebRequest -Uri 'https://dot.net/v1/dotnet-install.ps1' -OutFile '.\dotnet-install.ps1'; & '.\dotnet-install.ps1' -Channel Current -Version '2.0.0'*
 - Publish cmdlets on Windows PowerShell supports using the dotnet command for publishing operations.

Breaking Change
- PWSH: Changed the installation location of AllUsers scope to the parent of $PSHOME instead of $PSHOME. It is the SHARED_MODULES folder on PWSH.

Bug fixes
- Update HelpInfoURI to 'https://go.microsoft.com/fwlink/?linkid=855963' (#195)
- Ensure MyDocumentsPSPath path is correct (#179) (Thanks @lwsrbrts)


## 1.5.0.0

New features
* Added support for modules requiring license acceptance (#150)
 - [Documentation](https://docs.microsoft.com/en-us/powershell/gallery/psget/module/RequireLicenseAcceptance)

* Added version for REQUIREDSCRIPTS (#162)
 - Enabled following scenarios for REQUIREDSCRIPTS
   - [1.0] - RequiredVersion
   - [1.0,2.0] - Min and Max Version
   - (,1.0] - Max Version
   - 1.0 - Min Version

Bug fixes
* Fixed empty version value in nuspec (#157)


## 1.1.3.2
* Disabled PowerShellGet Telemetry on PS Core as PowerShell Telemetry APIs got removed in PowerShell Core beta builds. (#153)
* Fixed for DateTime format serialization issue. (#141)
* Update-ModuleManifest should add ExternalModuleDependencies value as a collection. (#129)

## 1.1.3.1

New features
* Added `PrivateData` field to ScriptFileInfo. (#119)

Bug fixes

## 1.1.2.0

Bug fixes

## 1.1.1.0

Bug fixes

## 1.1.0.0

* Initial release from GitHub.
* PowerShellCore support.

## For full history of release notes see changelog:
https://github.com/PowerShell/PowerShellGet/blob/master/CHANGELOG.md

FileList

Version History

Version Downloads Last updated
26.0.0 1 8/10/2020
25.0.0 1 8/10/2020
24.0.0 1 8/10/2020
23.0.0 1 8/7/2020
3.0.0-test9 1 8/18/2020
3.0.0-test8 1 8/18/2020
3.0.0-test7 1 8/17/2020
3.0.0-test6 1 8/15/2020
3.0.0-test5 1 8/15/2020
3.0.0-test4 1 8/13/2020
3.0.0-test3 1 8/13/2020
3.0.0-test2 1 8/13/2020
3.0.0-test16 1 8/24/2020
3.0.0-test156 1 8/24/2020
3.0.0-test155 1 8/24/2020
3.0.0-test154 1 8/24/2020
3.0.0-test153 1 8/24/2020
3.0.0-test152 1 8/24/2020
3.0.0-test151 1 8/23/2020
3.0.0-test150 1 8/23/2020
3.0.0-test149 1 8/23/2020
3.0.0-test148 1 8/21/2020
3.0.0-test147 1 8/21/2020
3.0.0-test146 1 8/21/2020
3.0.0-test1447 1 8/27/2020
3.0.0-test144 1 8/20/2020
3.0.0-test143 1 8/19/2020
3.0.0-test142 1 8/19/2020
3.0.0-test141 1 8/19/2020
3.0.0-test14 1 8/19/2020
3.0.0-test13 1 8/19/2020
3.0.0-test12 1 8/18/2020
3.0.0-test11 1 8/18/2020
3.0.0-test10 1 8/18/2020
3.0.0-test1 1 8/11/2020
3.0.0-beta9t... 1 8/31/2020
3.0.0-beta9t... 1 8/31/2020
3.0.0-beta9t... 1 8/31/2020
3.0.0-beta9test 1 8/28/2020
3.0.0-beta9 1 7/29/2020
3.0.0-beta81 1 7/30/2020
3.0.0-beta8 1 7/30/2020
3.0.0-beta61453 1 7/7/2020
3.0.0-beta61452 1 7/7/2020
3.0.0-beta61451 1 7/7/2020
3.0.0-beta6145 1 7/7/2020
3.0.0-beta6144 1 7/7/2020
3.0.0-beta6143 1 7/7/2020
3.0.0-beta6142 1 7/7/2020
3.0.0-beta6141 1 7/5/2020
3.0.0-beta614 1 7/5/2020
3.0.0-beta613 1 7/4/2020
3.0.0-beta612 1 7/4/2020
3.0.0-beta611 1 7/4/2020
3.0.0-beta61 1 7/4/2020
3.0.0-beta60 1 7/4/2020
3.0.0-beta6 1 7/2/2020
3.0.0-beta4 1 6/3/2020
3.0.0-beta31 1 5/26/2020
3.0.0-beta300 1 5/20/2020
3.0.0-beta3 1 5/15/2020
3.0.0-beta23 1 7/30/2020
3.0.0-beta22 1 7/30/2020
3.0.0-beta21 1 7/30/2020
3.0.0-beta20 1 7/30/2020
3.0.0-beta2 1 4/29/2020
3.0.0-beta19 1 7/30/2020
3.0.0-beta18 1 7/30/2020
3.0.0-beta17 1 7/30/2020
3.0.0-beta16 1 7/30/2020
3.0.0-beta15 1 7/30/2020
3.0.0-beta14 1 7/30/2020
3.0.0-beta13 1 7/30/2020
3.0.0-beta12 1 7/30/2020
3.0.0-beta11 1 7/29/2020
3.0.0-beta10... 1 9/4/2020
3.0.0-beta10 1 7/29/2020
3.0.0-beta1 1 3/30/2020
3.0.0-beta08 1 7/30/2020
3.0.0-beta00000 1 3/25/2020
3.0.0-beta0000 1 3/25/2020
3.0.0-beta000 1 3/25/2020
3.0.0-beta00 1 3/25/2020
2.2.5.4 0 6/28/2022
2.2.5.3 0 6/27/2022
2.2.5.2 0 6/23/2022
2.2.5 (current version) 1 9/22/2020
2.2.4.2 1 8/27/2020
2.2.4.1 1 4/22/2020
2.2.3 1 12/23/2019
2.2.2 1 12/11/2019
2.2.1 1 8/16/2019
2.2 1 7/1/2019
2.1.5 1 6/18/2019
2.1.4 1 5/21/2019
2.1.3 1 5/14/2019
2.1.2 1 3/15/2019
2.1.1 1 3/14/2019
2.1.0 1 3/8/2019
2.0.4 1 1/14/2019
2.0.3 1 11/19/2018
2.0.2 1 11/16/2018
2.0.1 1 9/24/2018
2.0.0 1 9/13/2018
1.6.7 1 8/17/2018
1.6.6 1 6/29/2018
1.6.5 1 5/16/2018
1.6.0 1 12/5/2017
1.5.0.0 1 10/7/2017
1.1.3.2 1 8/8/2017
1.1.3.1 1 5/15/2017
1.1.2.0 1 12/5/2016
1.1.1.0 1 10/12/2016
1.1.0.0 1 9/27/2016
1.0.0.6 1 4/26/2016
1.0.0.5 1 3/11/2016
1.0.0.4 1 3/4/2016
1.0.0.3 1 12/1/2015
1.0.0.2 1 10/30/2015
0.5 1 6/4/2014
Show less