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
Maybe it's an older syntax, but it used to be that [switch] was how you declared Boolean parameters. They still have the advantage of easily being able to determine if they were explicitly set without checking $PSBoundParameters. Whatever the case (or maybe a rule needs to be created for that), checking that I properly use ShouldContinue (which I otherwise do) should accept a [switch] $Force parameter and not expect only a [bool] $Force parameter.