In this article, I’ll explain how to use the PowerShell Where-Object cmdlet to filter objects and data. I’ll provide a series of easy examples showing you how to filter files by name or date, how to filter processes by status or CPU usage, and more. When using PowerShell, you will often receive an extremely large...
Last Update: Oct 16, 2023
Last Update: Oct 10, 2022
PowerShell is all about working with objects. Some commands can return hundreds if not thousands of objects and often you only really need small subset. To get the small subset, you need to perform some type of filtering.
Last Update: Oct 10, 2022
PowerShell guru Jeff Hicks shows how to use the Where() method to do similar filtering tasks that you might use Where-Object for. In some cases, the Where() method does more.
PowerShell MVP and trainer Jeff Hicks continues his exploration of filtering in PowerShell and techniques to help you make your filtering more efficient.