Microsoft.PowerShell.PSResourceGet

1.0.6

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

Minimum PowerShell version

5.1

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 Microsoft.PowerShell.PSResourceGet -RequiredVersion 1.0.6

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

Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Version 1.0.6 -Reinstall

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 Linux Mac Windows

Cmdlets

Find-PSResource Get-InstalledPSResource Get-PSResourceRepository Get-PSScriptFileInfo Install-PSResource Register-PSResourceRepository Save-PSResource Set-PSResourceRepository New-PSScriptFileInfo Test-PSScriptFileInfo Update-PSScriptFileInfo Publish-PSResource Uninstall-PSResource Unregister-PSResourceRepository Update-PSModuleManifest Update-PSResource

Functions

Import-PSGetRepository

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## 1.0.6

- Bump System.Text.Json to 8.0.5

## 1.0.5

### Bug Fixes
- Update `nuget.config` to use PowerShell packages feed (#1649)
- Refactor V2ServerAPICalls and NuGetServerAPICalls to use object-oriented query/filter builder (#1645 Thanks @sean-r-williams!)
- Fix unnecessary `and` for version globbing in V2ServerAPICalls (#1644 Thanks again @sean-r-williams!)
- Fix requiring `tags` in server response (#1627 Thanks @evelyn-bi!)
- Add 10 minute timeout to HTTPClient (#1626)
- Fix save script without `-IncludeXml` (#1609, #1614 Thanks @o-l-a-v!)
- PAT token fix to translate into HttpClient 'Basic Authorization'(#1599 Thanks @gerryleys!)
- Fix incorrect request url when installing from ADO (#1597 Thanks @antonyoni!)
- Improved exception handling (#1569)
- Ensure that .NET methods are not called in order to enable use in Constrained Language Mode (#1564)

## 1.0.4.1

- PSResourceGet packaging update
           
## 1.0.4

### Patch
- Dependency package updates

## 1.0.3

### Bug Fixes
- Bug fix for null package version in `Install-PSResource`
           
## 1.0.2

### Bug Fixes
- Bug fix for `Update-PSResource` not updating from correct repository (#1549)
- Bug fix for creating temp home directory on Unix (#1544)
- Bug fix for creating `InstalledScriptInfos` directory when it does not exist (#1542)
- Bug fix for `Update-ModuleManifest` throwing null pointer exception (#1538)
- Bug fix for `name` property not populating in `PSResourceInfo` object when using `Find-PSResource` with JFrog Artifactory (#1535)
- Bug fix for incorrect configuration of requests to JFrog Artifactory v2 endpoints (#1533 Thanks @sean-r-williams!)
- Bug fix for determining JFrog Artifactory repositories (#1532 Thanks @sean-r-williams!)
- Bug fix for v2 server repositories incorrectly adding script endpoint (1526)
- Bug fixes for null references (#1525)
- Typo fixes in message prompts in `Install-PSResource` (#1510 Thanks @NextGData!)
- Bug fix to add `NormalizedVersion` property to `AdditionalMetadata` only when it exists (#1503 Thanks @sean-r-williams!)
- Bug fix to verify whether `Uri` is a UNC path and set respective `ApiVersion` (#1479 Thanks @kborowinski!)

## 1.0.1

### Bug Fixes
- Bugfix to update Unix local user installation paths to be compatible with .NET 7 and .NET 8 (#1464)
- Bugfix for Import-PSGetRepository in Windows PowerShell (#1460)
- Bugfix for Test-PSScriptFileInfo to be less sensitive to whitespace (#1457)
- Bugfix to overwrite rels/rels directory on net472 when extracting nupkg to directory (#1456)
- Bugfix to add pipeline by property name support for Name and Repository properties for Find-PSResource (#1451 Thanks @ThomasNieto!)

## 1.0.0

### New Features
- Add `ApiVersion` parameter for `Register-PSResourceRepository` (#1431)

### Bug Fixes
- Automatically set the ApiVersion to v2 for repositories imported from PowerShellGet (#1430)
- Bug fix ADO v2 feed installation failures (#1429)
- Bug fix Artifactory v2 endpoint failures (#1428)
- Bug fix Artifactory v3 endpoint failures (#1427)
- Bug fix `-RequiredResource` silent failures (#1426)
- Bug fix for v2 repository returning extra packages for `-Tag` based search with `-Prerelease` (#1405)

See change log (CHANGELOG.md) at https://github.com/PowerShell/PSResourceGet

FileList

  • Microsoft.PowerShell.PSResourceGet.nuspec
  • dependencies\Newtonsoft.Json.dll
  • dependencies\NuGet.Common.dll
  • dependencies\NuGet.Credentials.dll
  • dependencies\NuGet.Frameworks.dll
  • dependencies\NuGet.Packaging.dll
  • dependencies\NuGet.Protocol.dll
  • dependencies\System.Buffers.dll
  • dependencies\System.Numerics.Vectors.dll
  • dependencies\System.Text.Encodings.Web.dll
  • dependencies\System.Text.Json.dll
  • dependencies\System.Threading.Tasks.Extensions.dll
  • dependencies\System.ValueTuple.dll
  • LICENSE
  • Microsoft.PowerShell.PSResourceGet.psm1
  • PSGet.Format.ps1xml
  • dependencies\NuGet.Commands.dll
  • dependencies\NuGet.Configuration.dll
  • dependencies\NuGet.DependencyResolver.Core.dll
  • dependencies\NuGet.LibraryModel.dll
  • dependencies\NuGet.ProjectModel.dll
  • dependencies\NuGet.Versioning.dll
  • dependencies\System.Memory.dll
  • dependencies\System.Runtime.CompilerServices.Unsafe.dll
  • Microsoft.PowerShell.PSResourceGet.dll
  • Microsoft.PowerShell.PSResourceGet.psd1
  • Notice.txt
  • dependencies\Microsoft.Bcl.AsyncInterfaces.dll

Version History

Version Downloads Last updated
1.1.0-rc3 2,153 11/15/2024
1.1.0-RC2 6,113 10/31/2024
1.1.0-RC1 2,429 10/22/2024
1.1.0-preview2 3,728 9/13/2024
1.1.0-preview1 12,728 4/2/2024
1.0.6 (current version) 128,542 10/10/2024
1.0.5 321,588 5/13/2024
1.0.4.1 81,910 4/5/2024
1.0.4 275 4/5/2024
1.0.3 56,267 3/13/2024
1.0.2 116,733 2/6/2024
1.0.1 84,394 11/7/2023
1.0.0 13,133 10/9/2023
0.9.0-rc1 9,599 9/7/2023
0.5.24-beta24 4,671 8/15/2023
0.5.23-beta23 1,402 7/27/2023
0.5.22-beta22 6,467 6/8/2023
Show less