where-object

PowerShell

Filtering with PowerShell Where-Object: Easy Examples

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

LATEST

Filtering PowerShell

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.

View Article

Filtering PowerShell with the Where Method

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.

View Article

More PowerShell Filtering Options

PowerShell MVP and trainer Jeff Hicks continues his exploration of filtering in PowerShell and techniques to help you make your filtering more efficient.

View Article