Export (0) Print
Expand All

Scheduled Tasks Cmdlets in Windows PowerShell

Updated: October 30, 2012

Applies To: Windows Server 2012

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Scheduled Tasks Cmdlets

This reference provides cmdlet descriptions and syntax for all Scheduled Tasks cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

Cmdlet Description

Disable-ScheduledTask

Disables a scheduled task.

Enable-ScheduledTask

Enables a scheduled task.

Export-ScheduledTask

Exports a scheduled task as an XML string.

Get-ClusteredScheduledTask

Gets clustered scheduled tasks for a failover cluster.

Get-ScheduledTask

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

Get-ScheduledTaskInfo

Gets run-time information for a scheduled task.

New-ScheduledTask

Creates a scheduled task instance.

New-ScheduledTaskAction

Creates a scheduled task action.

New-ScheduledTaskPrincipal

Creates an object that contains a scheduled task principal.

New-ScheduledTaskSettingsSet

Creates a new scheduled task settings object.

New-ScheduledTaskTrigger

Creates a scheduled task trigger object.

Register-ClusteredScheduledTask

Registers a scheduled task on a failover cluster.

Register-ScheduledTask

Registers a scheduled task definition on a local computer.

Set-ClusteredScheduledTask

Changes settings for a clustered scheduled task.

Set-ScheduledTask

Modifies a scheduled task.

Start-ScheduledTask

Starts one or more instances of a scheduled task.

Stop-ScheduledTask

Stops all running instances of a task.

Unregister-ClusteredScheduledTask

Removes a scheduled task from a failover cluster.

Unregister-ScheduledTask

Unregisters a scheduled task.

noteNote
To list all the cmdlets that are available, use the Get-Command -Module ScheduledTasks cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft