We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set-EnvironmentVariable
Long established Set-* cmdlets such as Set-Variable and Set-Alias have creation on demand logic.
Set-*
Set-Variable
Set-Alias
For instance, Set-Variable NoSuchVarYet NewValue creates $NoSuchVarYet if it doesn't exist yet.
Set-Variable NoSuchVarYet NewValue
$NoSuchVarYet
By contrast, Set-EnvironmentVariable only succeeds if the target environment variable already exists.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Long established
Set-*
cmdlets such asSet-Variable
andSet-Alias
have creation on demand logic.For instance,
Set-Variable NoSuchVarYet NewValue
creates$NoSuchVarYet
if it doesn't exist yet.By contrast,
Set-EnvironmentVariable
only succeeds if the target environment variable already exists.The text was updated successfully, but these errors were encountered: