Enable-CMTaskSequence

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

Syntax

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

Description

This cmdlet is deprecated. Use the Set-CMTaskSequence cmdlet to enable 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 for 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