Microsoft.PowerShell.PSResourceGet 1.0.3 released
Hi All,
Already a few Months back i wrote an Article about the Sucessor of PowerShellGet called PSResourceGet.
Today i noticed that there has been released a new Version
- PowerShell Gallery Microsoft.PowerShell.PSResourceGet 1.0.3
Looking at the Release Notes, there has been some Fixes since Version 1.0.0
Check what Version is Installed and what Version is available in the PowerShell Gallery
Get-InstalledPSResource Microsoft.PowerShell.PSResourceGet
Find-PSResource Microsoft.PowerShell.PSResourceGet
Remove the Module if it is loaded
Get-Module
Remove-Module Microsoft.PowerShell.PSResourceGet
Get-Module
Install the newest Module side by side with the -Force Parameter
Install-Module Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Install-Module Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Force
Could not load the Module - had to restart PowerShell
Import-Module Microsoft.PowerShell.PSResourceGet
Get-Module
Now i am able to uninstall the old Module
Import-Module Microsoft.PowerShell.PSResourceGet
Get-Module
Get-InstalledPSResource Microsoft.PowerShell.PSResourceGet
Uninstall-PSResource Microsoft.PowerShell.PSResourceGet -Version 1.0.0 -Scope CurrentUser -SkipDependencyCheck
Get-InstalledPSResource Microsoft.PowerShell.PSResourceGet
Regards
Andres Bohren