Get-CMTaskSequence

Gets Configuration Manager task sequences.

Syntax

Get-CMTaskSequence
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-Name <String>]
   [<CommonParameters>]
Get-CMTaskSequence [-DisableWildcardHandling] [-ForceWildcardHandling] -TaskSequencePackageId 
 []

Description

The Get-CMTaskSequence cmdlet gets Microsoft System Center Configuration Manager task sequences. A task sequence includes configuration and operating system deployment settings for a System Center Configuration Manager client computer.

You can specify a name or ID to get a specific sequence. You can also specify a security scope, by itself or with a name or ID, to get sequences with that security scope.

Examples

Example 1: Get a task sequence by name

PS C:\> Get-CMTaskSequence -Name "taskSequence"

This command gets the task sequence named taskSequence.

Required Parameters

-TaskSequencePackageId

Specifies the ID of a task sequence package.

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

Optional Parameters

-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
-Name

Specifies a name for a task sequence.

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