Disable-CMTaskSequence

This cmdlet is deprecated. Use the Set-CMTaskSequence (./Set-CMTaskSequence.md)cmdlet to disable a task sequence.

Syntax

Disable-CMTaskSequence
       [-Confirm]
       [-DisableWildcardHandling]
       [-ForceWildcardHandling]
       -InputObject <IResultObject>
       [-WhatIf]
       [<CommonParameters>]
Disable-CMTaskSequence [-Confirm] [-DisableWildcardHandling] [-ForceWildcardHandling] -Name  [-WhatIf]
 []
Disable-CMTaskSequence [-Confirm] [-DisableWildcardHandling] [-ForceWildcardHandling]
 -TaskSequencePackageId  [-WhatIf] []

Description

This cmdlet is deprecated. Use the Set-CMTaskSequence cmdlet to disable a task sequence.

Required Parameters

-InputObject

Specifies a task sequence object. To obtain a task sequence object, use the Get-CMTaskSequence cmdlet.

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies a name of a task sequence.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TaskSequencePackageId

Specifies the package ID of a task sequence.

Type:String
Aliases:PackageId, Id
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False