Microsoft.PowerShell.PSResourceGet 1.1.1 released

Microsoft.PowerShell.PSResourceGet 1.1.1 released

Hi All,

Just a few Hours ago, Microsoft has released a new Version of PSResourceGet.

Release Notes

Bug Fix

  • Bugfix to retrieve all metadata properties when finding a PSResource from a ContainerRegistry repository
  • Update README.md
  • Use authentication challenge for unauthenticated ContainerRegistry repository
  • Bugfix for Install-PSResource with varying digit version against ContainerRegistry repository
  • Bugfix for updating ContainerRegistry dependency parsing logic to account for AzPreview package
  • Add wildcard support for MAR repository for FindAll and FindByName
  • Bugfix for nuspec dependency version range calculation for RequiredModules

I am using the new PSResourceGet here instead of the PowerShellGet commands.

Show installed Versions and what’s available in PowerShell Gallery

Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Find-PSResource -Name Microsoft.PowerShell.PSResourceGet

Install the new Version, so we have both installed the current and the new one

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

You have to restart PowerShell now the New Module will be loaded - but it fails

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

I’ve ended up deleting all the Modules with the File Explorer and install it with Install-Module

Uninstall-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Version 1.1.0
Get-Module

Or you can simply use my M365PSProfile Module - find the Documentation here: https://github.com/fabrisodotps1/M365PSProfile/

Install-PSResource -Name M365PSProfile
Add-M365PSProfile
Install-M365Module

Regards
Andres Bohren

PowerShell Logo