I believe you are referring to Windows Environment Variables here, run the following in Windows PowerShell, believe that is what you want:
get-help about_Environment_Variables
That will get you all the Help doc on how to set things.
Regards,
Brett
To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.