Update-PSResource
complains about not finding packages when multiple repositories are registered
#1789
Open
3 tasks done
Labels
Prerequisites
Steps to reproduce
When updating packages in AllUsers scope, the
Update-PSResource
cmdlet complains (with ErrorRecord) about not finding packages from repositories. Packages from PSGallery are searched from local repository and vice versa.When package name is provided, no error messages occur.
The problem does not occur when packages are updated on CurrentUser scope
Expected behavior
no error messages
Actual behavior
Error details
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: