April 18th, 2014

PowerTip: List All Running Tasks in Windows 8.1

Doctor Scripto
Scripter

Summary: Use Windows PowerShell in Windows 8.1 to show all running tasks in Task Scheduler.

Hey, Scripting Guy! Question Sometimes I get CPU spikes on a server. As part of troubleshooting, I need to know the processes and which
          are scheduled tasks. Is there a way for Windows PowerShell to show me which tasks are running now?

Hey, Scripting Guy! Answer Use the Get-ScheduledTask cmdlet and filter on the State:

Get-ScheduledTask | Where { $_.State –eq ‘Running’ }

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.