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
I didn't test other variables, but the $OFS variable is a preference variable, but still triggers the PSUseDeclaredVarsMoreThanAssigments warning incorrectly.
When I set $OFS I do so to affect PowerShell's default string output, I need never "use" the variable myself. Like all other preference variables,OFS should be excluded from this rule -- duh?
PLEASE READ About_Preference_Variables AND EXCLUDE ALL PREFERENCE VARIABLES