Recharger le PATH dans PowerShell

Recharger le PATH dans PowerShell


Source : Stack Overflow [powershell]

Juste pour mettre en lumière le commentaire de Rob :

$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")