Articles

PowerShell articles, tutorials, and guides from community experts.

Richard Siddaway

Filtering

I"™ve been grading the scripts in the warm up events for the Scripting Games and noticed a lot of people doing this: Get-WmiObject -Class Win32_LogicalDisk | where {$_.DriveType -eq 3} Ok now it works but there are a couple of things wrong with this approach. Firstly, you are ignoring the built …