Microsoft.PowerShell.PSResourceGet 1.3.0-preview1 released

Microsoft.PowerShell.PSResourceGet 1.3.0-preview1 released

Hi All,

Yesterday, the Preview1 from Microsoft.PowerShell.PSResourceGet has been published to the PowerShell Gallery.

Release Notes in the PowerShell Gallery

Release Notes from GitHub

Install-Module -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Get-InstalledPSResource

Unfortenatly the Uninstall-PSResource Bug in PowerShell 5.1 is still present

Uninstall-PSResource -Name ExchagneOnlineManagement -Scope CurrentUser -SkipDependencyCheck

Because Microsoft.PowerShell.PSResourceGet is part of PowerShell 7.6.x you need to install it with the -force parameter

Install-Module -Name Microsoft.PowerShell.PSResourceGet -AllowPrerelease -Scope CurrentUser -Force

Microsoft Atrifact Registry (MAR)

Microsoft Artifact Registry (also known as Microsoft Container Registry or MCR) is the primary registry for all Microsoft published artifacts (such as container images) that offers a reliable and trustworthy delivery of artifacts with a syndicated catalog, while maintaining the quality that customers expect from a Microsoft product offering.

  • Microsoft Artifact Registry (MAR)
  • Microsoft Container Registry (MCR)

Announcement from the PowerShell Team

Due to the announcement i was expecting that MAR will be registered as a Repository. That seems not to be the case.

You can Register MAR with the following command

Get-PSResourceRepository
Register-PSResourceRepository -MicrosoftArtifactRegistry
Get-PSResourceRepository

Find-PSResource -Name AZ
Find-PSResource -Name ExchangeOnlineManagement

Currently only the AZ PowerShell Modules are on MAR. Looking forward when other Microsoft 1st Party Modules are available on MAR and we can use MAR as trusted Repository to install Microsoft PowerShell Modules.

Regards
Andres Bohren

PowerShell Logo