Open johlju opened 7 years ago
When running locally the user can not install modules if the user is not running the PowerShell console in elevated mode.
Instead of require administrator right, the cmdlet Install-Module should be called with -Scope CurrentUser.
Install-Module
-Scope CurrentUser
thanks a lot
what do I do if I am on Kali Linux with power shell and I need to pass windows creds for the -Scope
I’m thinking start pwsh using sudo? 🤔
pwsh
sudo
When running locally the user can not install modules if the user is not running the PowerShell console in elevated mode.
Instead of require administrator right, the cmdlet
Install-Module
should be called with-Scope CurrentUser
.