PowerShell_Scripts/base.linux/Set-EnvVariable.ps1

7 lines
115 B
PowerShell

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