Skip to content

Instantly share code, notes, and snippets.

@AndrewAllison
Created January 6, 2015 13:32
Show Gist options
  • Save AndrewAllison/9370b4c628965c6a71df to your computer and use it in GitHub Desktop.
Save AndrewAllison/9370b4c628965c6a71df to your computer and use it in GitHub Desktop.
Modify Powershell Path for Modules folder
$CurrentValue = [Environment]::GetEnvironmentVariable("PSModulePath", "Machine")
[Environment]::SetEnvironmentVariable("PSModulePath", $CurrentValue + ";E:\Powershell", "Machine")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment