Microsoft.PowerShell.PSResourceGet

1.1.0-preview2

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.
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.1.0-preview2 -AllowPrerelease

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

Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Version 1.1.0-preview2 -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 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.1.0-preview2

### New Features

- New cmdlet `Compress-PSResource` which packs a package into a .nupkg and saves it to the file system (#1682, #1702)
- New `-Nupkg` parameter for `Publish-PSResource` which pushes pushes a .nupkg to a repository (#1682)
- New `-ModulePrefix` parameter for `Publish-PSResource` which adds a prefix to a module name for container registry repositories to add a module prefix.This is only used for publishing and is not part of metadata. MAR will drop the prefix when syndicating from ACR to MAR (#1694)

### Bug Fixes

- Add prerelease string when NormalizedVersion doesn't exist, but prelease string does (#1681 Thanks @sean-r-williams)
- Add retry logic when deleting files (#1667 Thanks @o-l-a-v!)
- Fix broken PAT token use (#1672)
- Updated error messaging for authenticode signature failures (#1701)

## 1.1.0-preview1

### New Features

- Support for Azure Container Registries (#1495, #1497-#1499, #1501, #1502, #1505, #1522, #1545, #1548, #1550, #1554, #1560, #1567,
#1573, #1576, #1587, #1588, #1589, #1594, #1598, #1600, #1602, #1604, #1615)

### Bug Fixes

- Fix incorrect request URL when installing resources from ADO (#1597 Thanks @anytonyoni!)
- Fix for swallowed exceptions (#1569)
- Fix for PSResourceGet not working in Constrained Languange Mode (#1564)

## 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) at https://github.com/PowerShell/PSResourceGet

FileList

  • Microsoft.PowerShell.PSResourceGet.nuspec
  • dependencies\System.Threading.Tasks.Extensions.dll
  • LICENSE
  • Microsoft.PowerShell.PSResourceGet.pdb
  • Notice.txt
  • 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.Runtime.CompilerServices.Unsafe.dll
  • dependencies\System.Security.Cryptography.ProtectedData.dll
  • dependencies\System.Text.Encodings.Web.dll
  • dependencies\System.ValueTuple.dll
  • Microsoft.PowerShell.PSResourceGet.dll
  • Microsoft.PowerShell.PSResourceGet.psd1
  • PSGet.Format.ps1xml
  • 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.AccessControl.dll
  • dependencies\System.Security.Principal.Windows.dll
  • dependencies\System.Text.Json.dll
  • Microsoft.PowerShell.PSResourceGet.psm1
  • 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

Version History

Version Downloads Last updated
1.1.0-rc3 2,220 11/15/2024
1.1.0-RC2 6,120 10/31/2024
1.1.0-RC1 2,429 10/22/2024
1.1.0-preview2 (current version) 3,729 9/13/2024
1.1.0-preview1 12,728 4/2/2024
1.0.6 129,256 10/10/2024
1.0.5 321,590 5/13/2024
1.0.4.1 81,911 4/5/2024
1.0.4 275 4/5/2024
1.0.3 56,267 3/13/2024
1.0.2 116,741 2/6/2024
1.0.1 84,397 11/7/2023
1.0.0 13,134 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 more