Main | Contact | Blog | Documentation

PowerShell Framework

The project dedicated to empowering your PowerShell scripting.

Disable-PSFTaskEngineTask

SYNOPSIS

Disables a task registered to the PSFramework task engine.

SYNTAX

Disable-PSFTaskEngineTask [-Task] <PsfTask[]> [<CommonParameters>]

DESCRIPTION

Disables a task registered to the PSFramework task engine.

EXAMPLES

EXAMPLE 1

Get-PSFTaskEngineTask -Name 'mymodule.maintenance' | Disable-PSFTaskEngineTask

Disables the task named ‘mymodule.maintenance’

PARAMETERS

-Task

The task registered. Must be a task object returned by Get-PSFTaskEngineTask.

Type: PsfTask[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES