just when I thought I knew PowerShell, I'm wondering what's going on here. Compare-Object works for both of these examples, and the second example will return the differences if I don't check for $null, but I'm having the worst time doing a simple comparison. Why does the second example not return False?
(compare-object @(1,2,3) @(1,2,3)) -eq $null
True
(compare-object @(1,2,3) @(1,2,3,4,5,6)) -eq $null
(nothing returned) - I expect to see False