Microsoft.PowerShell.PSResourceGet 1.2.0 preview1 released

Microsoft.PowerShell.PSResourceGet 1.2.0 preview1 released

Hi All,

Today i saw, that there is a new Preview Version of Microsoft.PowerShell.PSResourceGet

Release Notes:

New Features

  • Dependency support for PSResources in v3 repositories

Bug Fix

  • Updated dependencies and added connection timeout to improve CI tests reliability
  • Improvements in ContainerRegistry repositories in listing repository catalog
  • Wildcard attribute added to -Repository parameter of Install-PSResource

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

Show installed Versions and what’s available in PowerShell Gallery. You need to use the -Prerelease Parameter to show Preview Versions of a Module

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

I’ve installed the Preview, removed the old Module from the loaded Modules and tried to uninstall the old Module.

Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Prerelease
Get-Module
Remove-Module Microsoft.PowerShell.PSResourceGet
Uninstall-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Version 1.1.1 -SkipDependencyCheck

In the End i had to remove the old Module in the Modules Directory

Had to test if M365PSProfile Module still works - find the Documentation here: https://github.com/fabrisodotps1/M365PSProfile/

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

Regards
Andres Bohren

PowerShell Logo