< Back

Disable-PSFTaskEngineTask

Sun Jan 19, 2020 6:39 pm

NAME 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.





PARAMETERS

-Task <PsfTask[]>

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



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PSFTaskEngineTask -Name 'mymodule.maintenance' | Disable-PSFTaskEngineTask



Disables the task named 'mymodule.maintenance'











RELATED LINKS