PowerTip: Use PowerShell in to Find Running Tasks

ScriptingGuy1

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’ 

0 comments

Discussion is closed.

Feedback usabilla icon