PowerShell Comparison Operators: Collections, $null and the Left-Hand Operand
PowerShell comparison operators look simple. -eq means equal, -ne means not equal, -gt means greater than, and so on. The surprises start when the value on the left-hand side is…
