Microsoft.PowerShell.PSResourceGet

1.2.0-rc2

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

Minimum PowerShell version

5.1

This is a prerelease version of Microsoft.PowerShell.PSResourceGet.

Installation Options

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

Install-Module -Name Microsoft.PowerShell.PSResourceGet -AllowPrerelease

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

Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Prerelease -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

Compress-PSResource Find-PSResource Get-InstalledPSResource Get-PSResourceRepository Get-PSScriptFileInfo Install-PSResource Register-PSResourceRepository Reset-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.2.0-rc2

## Bug fix
- For packages with dependency on a specific version use specific version instead of version range (#1937)

## 1.2.0-rc1

## Bug fix
- `WhatIf` parameter should respect provided value instead of simply checking presence (#1925)

## 1.2.0-preview5

### New Features
- Add `Reset-PSResourceRepository` cmdlet to recover from corrupted repository store (#1895)
- Improve performance of `ContainerRegistry` repositories by caching token (#1920)

## Bug fix
- Ensure `Update-PSResource` does not re-install dependency packages which already satisfy dependency criteria (#1919)
- Retrieve non-anonymous access token when publishing to ACR (#1918)
- Filter out path separators when passing in package names as a parameter for any cmdlet (#1916)
- Respect `TrustRepository` parameter when using `-RequiredResource` with `Install-PSResource` (#1910)
- Fix bug with 'PSModuleInfo' property deserialization when validating module manifest (#1909)
- Prevent users from setting ApiVersion to 'Unknown' in `Set-PSResourceRepository` and `Register-PSResourceRepository` (#1892)

## 1.2.0-preview4

## Bug fix

- Fix typos in numerous files (#1875 Thanks @SamErde!)
- MAR fails to parse RequiredVersion for dependencies (#1876 Thanks @o-l-a-v!)
- Get-InstalledPSResource -Path don't throw if no subdirectories were found (#1877 Thanks @o-l-a-v!)
- Handle boolean correctly in RequiredResourceFile for prerelease key (#1843 Thanks @o-l-a-v!)
- Fix CodeQL configuration (#1886)
- Add cmdlet aliases: gres, usres, and svres (#1888)
- Add warning when AuthenticodeCheck is used on non-Windows platforms (#1891)
- Fix Compress-PSResource ignoring .gitkeep and other dotfiles (#1889)
- Add CodeQL suppression for ContainerRegistryServerAPICalls (#1897)
- Fix broken Install-PSResource test with warning condition incorrect (#1899)
- Uninstall-PSResource should not fail silently when resource was not found or prerelease criteria not met (#1898)
- Uninstall-PSResource should delete subdirectories without Access Denied error on OneDrive (#1860)

## 1.2.0-preview3

### New Features
- Pagination for MCR catalog items (#1870)

### Bug Fix
- Bug fix for CLM issues (#1869)
- Update `-ModulePrefix` to be a static parameter (#1868)
- Bug fix for populating all `#Requires` fields in `Update-PSScriptFileInfo` (#1863)
- Bug fix for populating `Includes` metadata for packages from container registry repositories (#1861)
- Bug fix for `Find-PSResource` and `Install-PSResource` not retrieving unlisted package versions (#1859)

## 1.2.0-preview2

### New Features
- Integration of the Azure Artifacts Credential Provider for ADO feeds (#1765)

### Bug Fix
- Bug fixes for NuGet v3 dependencies (#1841 Thanks @o-l-a-v!)
- Bug fix for temporary installation path failure when installing PSResources on Linux machines (#1842 Thanks @o-l-a-v!)

## 1.2.0-preview1

### New Features
- Dependency support for PSResources in v3 repositories (#1778 Thanks @o-l-a-v!)

### Bug Fix
- Updated dependencies and added connection timeout to improve CI tests reliability (#1829)
- Improvements in `ContainerRegistry` repositories in listing repository catalog  (#1831)
- Wildcard attribute added to `-Repository` parameter of `Install-PSResource` (#1808)

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

FileList

  • Microsoft.PowerShell.PSResourceGet.nuspec
  • InstallPSResourceGetPolicyDefinitions.ps1
  • Microsoft.PowerShell.PSResourceGet.psm1
  • PSResourceRepository.adml
  • dependencies\Azure.Identity.dll
  • dependencies\Microsoft.Extensions.FileSystemGlobbing.dll
  • dependencies\Microsoft.Identity.Client.Extensions.Msal.dll
  • dependencies\NuGet.Commands.dll
  • dependencies\NuGet.Credentials.dll
  • dependencies\NuGet.LibraryModel.dll
  • dependencies\NuGet.Protocol.dll
  • dependencies\System.Diagnostics.DiagnosticSource.dll
  • dependencies\System.Memory.dll
  • dependencies\System.Security.AccessControl.dll
  • dependencies\System.Text.Encodings.Web.dll
  • dependencies\System.Threading.Tasks.Extensions.dll
  • LICENSE
  • Microsoft.PowerShell.PSResourceGet.pdb
  • Notice.txt
  • PSResourceRepository.admx
  • dependencies\Microsoft.Bcl.AsyncInterfaces.dll
  • dependencies\Microsoft.Extensions.Primitives.dll
  • dependencies\Microsoft.IdentityModel.Abstractions.dll
  • dependencies\NuGet.Common.dll
  • dependencies\NuGet.DependencyResolver.Core.dll
  • dependencies\NuGet.Packaging.dll
  • dependencies\NuGet.Versioning.dll
  • dependencies\System.IO.FileSystem.AccessControl.dll
  • dependencies\System.Numerics.Vectors.dll
  • dependencies\System.Security.Cryptography.ProtectedData.dll
  • dependencies\System.Text.Json.dll
  • dependencies\System.ValueTuple.dll
  • Microsoft.PowerShell.PSResourceGet.dll
  • Microsoft.PowerShell.PSResourceGet.psd1
  • PSGet.Format.ps1xml
  • dependencies\Azure.Core.dll
  • dependencies\Microsoft.Extensions.FileProviders.Abstractions.dll
  • dependencies\Microsoft.Identity.Client.dll
  • dependencies\Newtonsoft.Json.dll
  • dependencies\NuGet.Configuration.dll
  • dependencies\NuGet.Frameworks.dll
  • dependencies\NuGet.ProjectModel.dll
  • dependencies\System.Buffers.dll
  • dependencies\System.Memory.Data.dll
  • dependencies\System.Runtime.CompilerServices.Unsafe.dll
  • dependencies\System.Security.Principal.Windows.dll

Version History

Version Downloads Last updated
1.2.0-rc2 (current version) 227 2/6/2026
1.2.0-rc1 7,307 1/14/2026
1.2.0-preview5 15,541 12/8/2025
1.2.0-preview4 9,354 11/7/2025
1.2.0-preview3 19,668 9/13/2025
1.2.0-preview2 11,373 7/22/2025
1.2.0-preview1 7,728 6/27/2025
1.1.1 1,782,033 3/7/2025
1.1.0 346,025 1/9/2025
1.1.0-rc3 17,607 11/15/2024
1.1.0-RC2 7,745 10/31/2024
1.1.0-RC1 2,430 10/22/2024
1.1.0-preview2 4,589 9/13/2024
1.1.0-preview1 13,378 4/2/2024
1.0.6 303,507 10/10/2024
1.0.5 330,959 5/13/2024
1.0.4.1 111,453 4/5/2024
1.0.4 365 4/5/2024
1.0.3 58,896 3/13/2024
1.0.2 193,343 2/6/2024
1.0.1 96,103 11/7/2023
1.0.0 14,173 10/9/2023
0.9.0-rc1 9,610 9/7/2023
0.5.24-beta24 4,860 8/15/2023
0.5.23-beta23 1,444 7/27/2023
0.5.22-beta22 6,480 6/8/2023
Show more