Get Task List

Gets the task definition object of a scheduled task that is registered on the local computer.

Get-ScheduledTask
Create a task:
schtasks /create /tn "WinBkp-Daily" /tr "powershell I:\Scipts\.\backup-HyperV.ps1" /sc daily /st 04:00 /ed 10/10/2016
schtasks /create /tn "ITMASTERBackupServer" /tr "powershell C:\Itmaster\.\backupHyper2.ps1" /sc daily /st 04:00 /ed 1/1/2020
Delete a task:
schTasks /Delete /TN “WinBkp-Daily”
Get Task Info
Get-ScheduledTaskInfo MyBackupJob
Start a Task
Start-ScheduledTask -TaskName "ScanSoftware"
Links