The NOT expression is processed first. Then the expressions joined by AND are processed. Finally, the expressions joined by OR are processed. For a complete discussion of the rules for evaluating ...
While you wait for PowerShell to add support for ternary operators, here's a method you can use now to evaluate Boolean conditions without the need to write If – Then – Else statements. If you have ...