Scheduled Tasks Cmdlets in Windows PowerShell
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 |
---|---|
Disables a scheduled task. |
|
Enables a scheduled task. |
|
Exports a scheduled task as an XML string. |
|
Gets clustered scheduled tasks for a failover cluster. |
|
Gets the task definition object of a scheduled task that is registered on the local computer. |
|
Gets run-time information for a scheduled task. |
|
Creates a scheduled task instance. |
|
Creates a scheduled task action. |
|
Creates an object that contains a scheduled task principal. |
|
Creates a new scheduled task settings object. |
|
Creates a scheduled task trigger object. |
|
Registers a scheduled task on a failover cluster. |
|
Registers a scheduled task definition on a local computer. |
|
Changes settings for a clustered scheduled task. |
|
Modifies a scheduled task. |
|
Starts one or more instances of a scheduled task. |
|
Stops all running instances of a task. |
|
Removes a scheduled task from a failover cluster. |
|
Unregisters a scheduled task. |
注意
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