kayasax
2/19/2016 - 1:55 PM

Create a new environment variable https://technet.microsoft.com/en-us/library/ff730964.aspx

 [Environment]::SetEnvironmentVariable("UPFRODCNAME", "RODC-VALAN", "machine")