Skip to the content.

06. April 2021 - verfasst von Oliver Gaida - Kategorien: ["powershell"]

powershell - get and set environment variables

$userenv = [System.Environment]::GetEnvironmentVariable("Path", "User")
[System.Environment]::SetEnvironmentVariable("PATH", $userenv + ";C:\Users\Administrator\Ubuntu", "User")
HOME