Created
August 14, 2023 14:19
-
-
Save oliverlabs/eadadb37ea11bd9687894e397b863520 to your computer and use it in GitHub Desktop.
Set a user environment variable in PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set a user environment variable in PowerShell | |
setx MACHINE Brand1 | |
# echo $env:MACHINE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment