Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Query Running Scheduled Tasks

$
0
0

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

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles