Windows PowerShell® 是基于任务的命令行 shell 和脚本语言,专为系统管理而设计。本参考主题面向信息技术 (IT) 专业人员,可在利用 Windows PowerShell cmdlet 编写脚本和对任务实施自动化时提供协助。
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.
有关任何 cmdlet 或其语法的详细信息,请使用 Get-Help
<cmdlet 名称> cmdlet,其中 *<cmdlet 名称>*是你要搜索的 cmdlet 的名称。若需了解详细信息,可以运行以下任一 cmdlet:
● Get-Help
<cmdlet 名称> -Detailed
● Get-Help
<cmdlet 名称> -Examples
● Get-Help
<cmdlet 名称> -Full