Inconsistent behaviour of Where-Object with -eq condition – sometimes no results returned In PowerShell 7.4.5, I ran into a weird issue with Where-Object a.k.a. ?.