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