Quantcast
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell in to Find Running Tasks

Summary: Learn how to use Windows PowerShell in Windows 8 or Windows Server 2012 to find running scheduled tasks.

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Question
 How can I use Windows PowerShell 3.0 in Windows 8 or Windows Server 2012 to find running scheduled tasks?

Image may be NSFW.
Clik here to view.
Hey, Scripting Guy! Answer
Use the Get-ScheduledTask cmdlet and filter out the state that is equal to running. In the following example, ? is an alias for the Where-Object.

Get-ScheduledTask | select taskname, state | ? state -eq 'running' 

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 36188

Trending Articles