Skip to content

Commit 30f49b7

Browse files
committed
Added set-env-PATH
1 parent 2ccba14 commit 30f49b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

system-setup/set-env-PATH.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This script will add a tool folder path to the system environment variable (PATH)
2+
$tool = "C:\tools\dsc"
3+
$PATH = [Environment]::GetEnvironmentVariable("PATH")
4+
[Environment]::SetEnvironmentVariable("PATH", "$PATH;$tool", [System.EnvironmentVariableTarget]::Machine)

0 commit comments

Comments
 (0)