Guest User

Untitled

a guest
Jul 16th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. %ProgramFiles%WindowsPowerShellModules;%SystemRoot%system32WindowsPowerShellv1.0Modules
  2.  
  3. $envarname = "PSModulePath"
  4. $envar = (get-item env:$envarname).Value
  5. [Environment]::SetEnvironmentVariable($envarname, $envar + ";C:Expedited", "Machine")
  6.  
  7. C:UsersUsernameDocumentsWindowsPowerShellModules;C:Program FilesWindowsPowerShellModules;C:Windowssystem32WindowsPowerShellv1.0Modules;C:Expedited
Add Comment
Please, Sign In to add comment