Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell scope CurrentUser

if ($env:PSModulePath -notlike "*D:DocumentsWindowsPowerShellModules*")
{
  $env:PSModulePath = $env:PSModulePath + ";D:DocumentsWindowsPowerShellModules"
}
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #powershell #scope #CurrentUser
ADD COMMENT
Topic
Name
4+8 =