Get-ScheduledTask

From WikiWiki
Jump to navigation Jump to search
Get-ScheduledTask | Where State -ne "Disabled" | Get-ScheduledTaskInfo | Select TaskName,TaskPath,LastRunTime, LastTaskResult,NextRunTime,NumberofMissedRuns | Sort-Object lastruntime



task running during screensaver

TaskName           : RunFullMemoryDiagnostic
TaskPath           : \Microsoft\Windows\MemoryDiagnostic\
LastRunTime        : 13/03/2014 11:12:12
LastTaskResult     : 2147943467
NextRunTime        :
NumberofMissedRuns : 0

TaskName           : WinSAT
TaskPath           : \Microsoft\Windows\Maintenance\
LastRunTime        : 13/03/2014 11:12:12
LastTaskResult     : 0
NextRunTime        :
NumberofMissedRuns : 0

TaskName           : Idle Maintenance
TaskPath           : \Microsoft\Windows\TaskScheduler\
LastRunTime        : 13/03/2014 11:12:12
LastTaskResult     : 0
NextRunTime        :
NumberofMissedRuns : 0

TaskName           : ProcessMemoryDiagnosticEvents
TaskPath           : \Microsoft\Windows\MemoryDiagnostic\
LastRunTime        : 13/03/2014 11:12:12
LastTaskResult     : 2147946720
NextRunTime        :
NumberofMissedRuns : 0

TaskName           : Regular Maintenance
TaskPath           : \Microsoft\Windows\TaskScheduler\
LastRunTime        : 13/03/2014 11:12:12
LastTaskResult     : 0
NextRunTime        : 13/03/2014 15:21:21
NumberofMissedRuns : 0