Listing 2: Example Usage of the Where-Object Test "srv01","192.168.1.254","www.penton.com","localhost" | Where {(Get-WmiObject Win32_PingStatus -Filter "address='$_'" ` ).StatusCode -eq 0}