Unregister-ScheduledJob - Powershell 3.0 CmdLet
ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »
Unregister-ScheduledJob
Short description Deletes scheduled jobs on the local computer. Syntax Description The Unregister-ScheduledJob cmdlet deletes scheduled jobs from the local computer. When it deletes or "unregisters" a scheduled job, Unregister-ScheduledJob deletes the directory for the scheduled job ( in the $home\AppData\Local\Microsoft\Windows\PowerShell\ScheduledJobs directory), which contains the XML file that defi nes the scheduled job, the job execution history, and all job results. This action also deletes the job from Task Sched uler. Unregister-ScheduledJob deletes only the scheduled jobs that are created by using the Register-ScheduledJob cmdlet. It does not delete scheduled jobs that are created in Task Scheduler. You can use the parameters of Unregister-ScheduledJob to delete scheduled jobs by ID or name, or pipe scheduled jobs fr om Get-ScheduledJob to Unregister-ScheduledJob. Unregister-ScheduledJob is one of a collection of job scheduling cmdlets in the PSScheduledJob module that is included in Windows PowerShell. For more information about Scheduled Jobs, see the About topics in the PSScheduledJob module. Import the PSScheduledJob module and then type: Get-Help about_Scheduled* or see about_Scheduled_Jobs. This cmdlet is introduced in Windows PowerShell 3.0.