windows 10 script to find specific environment variables and set it as system variable code example
Example: how to get environment variables in powershell
#Windows Powershell
cd Env:
Get-ChildItem
#Windows Powershell
cd Env:
Get-ChildItem