Powershell Add System Variable

前端 未结 3 812
北恋
北恋 2020-12-24 06:38

I am Trying To add a System Variable here using PowerShell:

I have tried both ways using

$env:MyTestVariable = \"My test variable.\"
         


        
3条回答
  •  情话喂你
    2020-12-24 07:26

    You can find a cool explanation of this below,

    https://trevorsullivan.net/2016/07/25/powershell-environment-variables/

提交回复
热议问题