PowerShellGet

1.1.3.1

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

Installation Options

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

Install-Module -Name PowerShellGet -RequiredVersion 1.1.3.1 -Force

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 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.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.

Version History

Version Downloads Last updated
2.2.1 1,759,454 8/16/2019
2.2 774,710 7/9/2019
2.1.5 479,331 6/18/2019
2.1.4 564,885 5/21/2019
2.1.3 157,466 5/14/2019
2.1.2 1,027,393 3/15/2019
2.1.1 19,258 3/14/2019
2.1.0 94,005 3/8/2019
2.0.4 931,232 1/15/2019
2.0.3 813,729 11/19/2018
2.0.1 989,456 9/24/2018
2.0.0 209,638 9/13/2018
1.6.7 462,151 8/17/2018
1.6.6 817,867 7/2/2018
1.6.5 794,888 5/17/2018
1.6.0 795,403 12/5/2017
1.5.0.0 160,697 10/9/2017
1.1.3.2 24,229 8/8/2017
1.1.3.1 (current version) 75,293 5/16/2017
1.1.2.0 24,055 12/5/2016
1.1.1.0 1,977 10/12/2016
1.1.0.0 589 9/29/2016
Show less