$path = [Environment]::GetEnvironmentVariable('PATH', 'Machine')
$newpath = $path + ';C:\Program Files\Fabrikam\Modules'
[Environment]::SetEnvironmentVariable("PATH", $newpath, 'Machine')
I think this is bettern than the answer posted here on SO because $Env:Path
returns a combination of User- & Machine- scoped PATHs.