We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ccba14 commit 30f49b7Copy full SHA for 30f49b7
system-setup/set-env-PATH.ps1
@@ -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