PowerShellGet

1.5.0.0

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 1.5.0.0 -Force

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

Install-PSResource -Name PowerShellGet -Version 1.5.0.0

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

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

PSEditions

Desktop Core

Dependencies

Release Notes

## 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
* Fixed Add-Type issue in v6.0.0-beta.1 release of PowerShellCore. (#125, #124)
* Install-Script -Scope CurrentUser PATH changes should not require a reboot for new PS processes. (#124)
   - Made changes to broadcast the Environment variable changes, so that other processes pick changes to Environment variables without having to reboot or logoff/logon.
* Changed `Get-EnvironmentVariable` to get the unexpanded version of `%path%`. (#117)
* Refactor credential parameter propagation to sub-functions. (#104)
* Added credential parameter to subsequent calls of `Publish-Module/Script`. (#93)
   - This is needed when a module is published that has the RequiredModules attribute in the manifest on a repository that does not have anonymous access because the required module lookups will fail.

## 1.1.2.0

Bug fixes
* Renamed `PublishModuleIsNotSupportedOnNanoServer` errorid to `PublishModuleIsNotSupportedOnPowerShellCoreEdition`. (#44)
   - Also renamed `PublishScriptIsNotSupportedOnNanoServer` to `PublishScriptIsNotSupportedOnPowerShellCoreEdition`.
* Fixed an issue in `Update-Module` and `Update-Script` cmdlets to show proper version of current item being updated in `Confirm`/`WhatIf` message. (#44)
* Updated `Test-ModuleInstalled` function to return single module instead of multiple modules. (#44)
* Updated `ModuleCommandAlreadyAvailable` error message to include all conflicting commands instead of one.  (#44)
   - Corresponding changes to collect the complete set of conflicting commands from the being installed.
   - Also ensured that conflicting commands from PSModule.psm1 are ignored in the command collision analysis as Get-Command includes the commands from current local scope as well.

* Fixed '[Test-ScriptFileInfo] Fails on *NIX newlines (LF vs. CRLF)' (#18)


## 1.1.1.0

Bug fixes
* Fixed 'Update-Module fails with `ModuleAuthenticodeSignature` error for modules with signed PSD1'. (#12) (#8)
* Fixed 'Properties of `AdditionalMetadata` are case-sensitive'. #7
* Changed `ErrorAction` to `Ignore` for few cmdlet usages as they should not show up in ErrorVariable.
   - For example, error returned by `Get-Command Test-FileCatalog` should be ignored.


## 1.1.0.0

* Initial release from GitHub.
* PowerShellCore support.
* Security enhancements including the enforcement of catalog-signed modules during installation.
* Authenticated Repository support.
* Proxy Authentication support.
* Responses to a number of user requests and issues.

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 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 (current version) 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