PowerShell Logo Small

Unregister-ScheduledTask



This is the built-in help made by Microsoft for the command 'Unregister-ScheduledTask', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Unregisters a scheduled task.

SYNTAX


Unregister-ScheduledTask [[-TaskName] <String[]>] [[-TaskPath] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-Wha
tIf] [<CommonParameters>]
Unregister-ScheduledTask [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParamete
rs>]



Search powershellhelp.space

DESCRIPTION


The Unregister-ScheduledTask cmdlet unregisters a scheduled task from the Windows Task Scheduler service on a local computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287563
Disable-ScheduledTask
Enable-ScheduledTask
Export-ScheduledTask
Get-ScheduledTask
New-ScheduledTask
Register-ScheduledTask
Set-ScheduledTask
Start-ScheduledTask
Stop-ScheduledTask

REMARKS

<

Examples


Example 1: Unregister a task in the root folder

PS C:\> Unregister-ScheduledTask -TaskName "HardwareInventory"



This command unregisters a task named HardwareInventory in the root folder. You must confirm the action before the command performs it.