Skip to content

Instantly share code, notes, and snippets.

@oliverlabs
Created August 14, 2023 14:19
Show Gist options
  • Save oliverlabs/eadadb37ea11bd9687894e397b863520 to your computer and use it in GitHub Desktop.
Save oliverlabs/eadadb37ea11bd9687894e397b863520 to your computer and use it in GitHub Desktop.
Set a user environment variable in PowerShell
# 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