This is the built-in help made by Microsoft for the command 'Enable-ScheduledTask', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' 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.
Enables a scheduled task.
Enable-ScheduledTask [-InputObject] <CimInstance> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Enable-ScheduledTask [-TaskName] <String> [[-TaskPath] <String>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Enable-ScheduledTask cmdlet enables a disabled scheduled task.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287546
Disable-ScheduledTask
Export-ScheduledTask
Get-ScheduledTask
New-ScheduledTask
Register-ScheduledTask
Set-ScheduledTask
Start-ScheduledTask
Stop-ScheduledTask
Unregister-ScheduledTask
Get-ScheduledTaskInfo
<
Example 1: Enable a scheduled task
PS C:\> Enable-ScheduledTask -TaskName "SystemScan"
TaskPath TaskName State
-------- -------- --------
\ SystemScan Ready
This command enables the SystemScan task in the root folder.
Example 2: Enable all scheduled tasks in a folder
PS C:\> Get-ScheduledTask -TaskPath "\UpdateTasks\" | Enable-ScheduledTask
TaskPath TaskName State
-------- -------- --------
\UpdateTasks\ UpdateApps Ready
\UpdateTasks\ UpdateDrivers Ready
This command uses the Get-Scheduledtask cmdlet to get all scheduled tasks in the \UpdateTasks\ folder. It pipes this information to the Enable-ScheduledTasks cmdlet, which
enables these scheduled tasks.