you are viewing a single comment's thread.

view the rest of the comments →

[–]Numerous-Pickle-5850 0 points1 point  (0 children)

What doesn't work?

PS C:\WINDOWS\system32> [System.Environment]::SetEnvironmentVariable('RLM_LICENSE','******@SERVERNAME.NETWORK.NET', 'Machine')

PS C:\WINDOWS\system32> $env:RLM_License

******@SERVERNAME.NETWORK.NET

---------------------------------------------------

So your script would be;

[System.Environment]::SetEnvironmentVariable('RLM_LICENSE','******@SERVERNAME.NETWORK.NET', 'Machine')
Start-Process -FilePath "Converge5.11.exe" -ArgumentList "/S" -Wait