9 lines
141 B
PowerShell
9 lines
141 B
PowerShell
|
function osenv {
|
||
|
$cmd = osenv-bin @Args
|
||
|
if ($?) {
|
||
|
$cmd | Invoke-Expression
|
||
|
}
|
||
|
else {
|
||
|
Write-Output $cmd
|
||
|
}
|
||
|
}
|