Skip to content

Instantly share code, notes, and snippets.

@jhorsman
Created October 18, 2017 07:50
Show Gist options
  • Select an option

  • Save jhorsman/3f0bb4e6d2e0266973efe685674040bc to your computer and use it in GitHub Desktop.

Select an option

Save jhorsman/3f0bb4e6d2e0266973efe685674040bc to your computer and use it in GitHub Desktop.
Set a Windows environment variable with PowerShell. Scope: the whole machine, all users.
[Environment]::SetEnvironmentVariable("TRIDION_CM_ENVIRONMENT_ID", "Development", "Machine")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment