PowerTip: Use PowerShell to Discover Tasks Associated with Scheduled Jobs

Doctor Scripto

Summary: Use Windows PowerShell to discover the tasks that are associated with your scheduled jobs.

Hey, Scripting Guy! Question How can I use Windows PowerShell to discover the scheduled tasks that are associated with my scheduled jobs?

Hey, Scripting Guy! Answer In Windows 8 or Windows Server 2012, use the Get-ScheduledTask cmdlet:

£> Get-ScheduledTask -TaskName test1 | Format-List TaskPath, TaskName, State

TaskPath : \Microsoft\Windows\PowerShell\ScheduledJobs\

TaskName : Test1

State    : Ready

On earlier operating systems, you need to look in the Task Scheduler, I’m afraid. 

0 comments

Discussion is closed.

Feedback usabilla icon