[CmdletBinding()]param( [string]$Name, [object]$Value ) Set-Item -Path (Join-Path "env:" $Name) -Value $Value