PSResourceGet 1.3.1 released
Hi All,
Yesterday Microsoft has released the rc1 (release candidate) Version of Microsoft.PowerShell.PSResourceGet
Sadly there is nothing in the ReleaseNotes Attribute of the *.psd1 File
But since this is on GitHub we can check there
Release Notes:
- Add XML validation when parsing XML response from NuGetServer
- Prompt confirmation to use Credential for repository when ambigous
Update
Let’s check what Version is installed and what’s available on the PowerShell Gallery
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Find-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository PSGallery
Let’s check what’s available in MicrosoftArtifactRegistry (MAR) - it’s still an old Version
Find-PSResource -Name Microsoft.PowerShell.PSResourceGet -Repository MicrosoftArtifactRegistry
First we need to install the new Module
Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Repository PSGallery
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
After a Restart of PowerShell - the new Module is loaded and we can uninstall the old module
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Get-Module
Uninstall-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Version 1.3.0-Preview1 -SkipDependencyCheck
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Regards
Andres Bohren







