I am Trying To add a System Variable here using PowerShell:
I have tried both ways using
$env:MyTestVariable = \"My test variable.\"
You can find a cool explanation of this below,
https://trevorsullivan.net/2016/07/25/powershell-environment-variables/