PowerTip: Query Running Scheduled Tasks

Doctor Scripto

Summary: Use Windows PowerShell 3.0 to query running scheduled tasks.

Hey, Scripting Guy! Question How do I query “running” scheduled tasks on my computer?

Hey, Scripting Guy! Answer Charlotte PowerShell User Group member Brian Wilhite says the following: With Windows PowerShell 3.0, we have a ton of new cmdlets, and we’ll see one of those cmdlets here.  Get-ScheduledTask can be used to query scheduled tasks configured for a computer. The following expression will query running tasks on your computer:

Get-ScheduledTask | Where-Object State -eq Running



Discussion is closed.

Feedback usabilla icon