You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get-Package -Name '' -Scope 'CurrentUser' returns a package installed in system context/ for all users.
Yes, technically %ProgramW6432%\WindowsPowerShell\Modules can be read by users without admin permissions, but the package itself is not installed in user context per se, which by default for PowerShell modules is %USERPROFILE%\Documents\WindowsPowerShell\Modules.
This is using PackageManagement v1.4.7 on Windows PowerShell in PowerShell ISE.
Also created a documentation issue, because the parameter does not act as described.
Get-Package -Name '' -Scope 'CurrentUser' returns a package installed in system context/ for all users.
Yes, technically
%ProgramW6432%\WindowsPowerShell\Modules
can be read by users without admin permissions, but the package itself is not installed in user context per se, which by default for PowerShell modules is%USERPROFILE%\Documents\WindowsPowerShell\Modules
.This is using
PackageManagement
v1.4.7 on Windows PowerShell in PowerShell ISE.Also created a documentation issue, because the parameter does not act as described.
The text was updated successfully, but these errors were encountered: