SQL Server hacking on scale using PowerShell

[6] In the above example, we used three variations of Get-WMIObject to do the same job of retrieving all instances of Win32_LogicalDisk where the DriveType is 3 (a disk drive). From the output, we can see that using -Query and -Filter are the fastest ways to retrieve the WMI information. Note -Filter, as we shall see in next chapters, is a variation of -Query. ................
................