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.