Microsoft.PowerShell.PSResourceGet 1.2.0-rc2 released
Hi All,
A few hours ago, Microsoft has released the rc2 of the Microsoft.PowerShell.PSResourceGet PowerShell Module.
- Powershell Gallery Microsoft.PowerShell.PSResourceGet 1.2.0-rc2
You can check the Release Notes
PowerShell 5
Check the Module Path
$Env:PSModulePath.Split(";")
I’ve simply deleted the Microsoft.PowerShell.PSResourceGet Folder in Windows Explorer - because there is no “Scope” Parameter in the Uninstall-Module command
Installing the PSResourceGet with Install-Module
Install-Module -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -AllowPrerelease -Force
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Uninstalling a Module under PowerShell 5 still fails - like in Preview4
Uninstall-PSResource -Name ExchangeOnlineManagement -Scope CurrentUser
PowerShell 7
Check the Module Path and delete the Microsoft.PowerShell.PSResourceGet Folder in Windows Explorer
$Env:PSModulePath.Split(";")
Installing the PSResourceGet with Install-Module
Install-Module -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -AllowPrerelease -Force
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Uninstall works fine in PowerShell 7 - but install fails.
I’ve created a GitHub Issue
Uninstall-PSResource -Name ExchangeOnlineManagement -Scope CurrentUser
Install-PSResource -Name ExchangeOnlineManagement -Scope CurrentUser
Regards
Andres Bohren









