PowerShell has a number of logical operators – - -and, –or, –not (or !). One I’ve really thought about is the exclusive OR operator –xor.
With a standard –or operator the result is TRUE if one of the statements is TRUE
PS> ('a' -eq 'A') -or ('a'… Read the full text.