Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell in to Find Running Tasks

$
0
0

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

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 in Windows 8 or Windows Server 2012 to find running scheduled tasks?

Hey, Scripting Guy! AnswerUse 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' 


Viewing all articles
Browse latest Browse all 36188

Trending Articles