PowerTip: Query Running Scheduled Tasks

PowerTip: Query Running Scheduled Tasks

  • Comments 1
  • Likes

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

 

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment