Scheduled Tasks Cmdlets in Windows PowerShell

Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

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.

Notes

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

Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help <nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :

Get-Help <nom de l’applet de commande> -Detailed
Get-Help <nom de l’applet de commande> -Examples
Get-Help <nom de l’applet de commande> -Full