description | external help file | Module Name | ms.date | schema | title |
---|---|---|---|---|---|
Create a copy of an existing task sequence in Configuration Manager. |
AdminUI.PS.dll-Help.xml |
ConfigurationManager |
11/30/2018 |
2.0.0 |
Copy-CMTaskSequence |
Create a copy of an existing task sequence in Configuration Manager.
Copy-CMTaskSequence -Id <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
Copy-CMTaskSequence -InputObject <IResultObject> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
[-Confirm] [<CommonParameters>]
Copy-CMTaskSequence -Name <String> [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
[<CommonParameters>]
The Copy-CMTaskSequence cmdlet creates a copy of an existing task sequence in Configuration Manager.
A task sequence performs multiple steps or tasks on a Configuration Manager client computer without user intervention.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
PS XYZ:\> $newTS = Copy-CMTaskSequence -Name "TaskSequence01"
This command makes a copy of the task sequence with the name TaskSequence01.
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a task sequence ID.
Type: String
Parameter Sets: SearchById
Aliases: PackageId, TaskSequencePackageId
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a task sequence object.
Type: IResultObject
Parameter Sets: SearchByValue
Aliases: TaskSequence
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies a task sequence name.
Type: String
Parameter Sets: SearchByName
Aliases: TaskSequenceName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
New-CMTaskSequence Get-CMTaskSequence Set-CMTaskSequence Import-CMTaskSequence Export-CMTaskSequence Remove-CMTaskSequence