You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preference variables generally take effect in the scope in which they're defined, which appears not be the case for $ErrorView, which only honors it in an ancestral scope:
Preference variables generally take effect in the scope in which they're defined, which appears not be the case for
$ErrorView, which only honors it in an ancestral scope:Steps to reproduce
Note: To re-run the test, start a new session, because the last command sets
$ErrorViewin the global scope.Expected behavior
Actual behavior
Setting
$ErrorViewin the same scope as the failingGet-Itemcommand didn't take effect - contrast this with the$VerbosePreferencevariable.Environment data