January 13th, 2015

PowerTip: Find Scheduled Tasks with PowerShell

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find the location of scheduled tasks.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily look for scheduled tasks in the graphical tool?

Hey, Scripting Guy! Answer Use the Get-ScheduledTask cmdlet and search on the TaskPath property. Related scheduled tasks are
           grouped together and TaskPath provides that location. Here is an example:

Get-ScheduledTask | where taskpath -match 'powershell'

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.