Open beecho01 opened 3 days ago
Technically -Scope would be supported on everything Powershell 3.0 and above the difference is in the PowershellGet module it comes from. The default Windows Powershell ships with the original 1.0.0.1 version of the module that is missing several modern features
Microsoft's recommendation is to upgrade the PowershellGet module since the base version does not work properly with the Powershell Gallery to receive module updates. Why Microsoft has decided to leave the base version in I have no clue my only guess is they abandoned Windows Powershell to focus on Powershell Core version 7 and up.
https://learn.microsoft.com/en-us/powershell/gallery/powershellget/overview?view=powershellget-3.x
Might be nice for UniGetUI to give a warning to folks with the Powershell manager enabled who have the base module version still.
Please test if the latest beta release fixes the issue for you: https://github.com/marticliment/UniGetUI/releases/tag/3.1.4-beta1
Please confirm these before moving forward
UniGetUI Version
3.1.3
Windows version, edition, and architecture
Windows 11 Pro 1000.22700.1041.0 x64
Describe your issue
When attempting to upgrade
Microsoft.WinGet.Client
I get the error:I believe that the update-module does not support
-Scope
for Powershell 5.0 as per the link here: https://learn.microsoft.com/en-us/previous-versions/powershell/module/powershellget/update-module?view=powershell-5.0Steps to reproduce the issue
Attempt to upgrade
Microsoft.WinGet.Client
viaPackage Manager: PowerShell 5.x: PSGallery
using the default installation options.UniGetUI Log