Remove-CMTaskSequenceDeployment
SYNOPSIS
Tar bort en aktivitetssekvensdistribution från Konfigurationshanteraren.
SYNTAX
SearchByValue (standard)
Remove-CMTaskSequenceDeployment -InputObject <IResultObject> [-Force] [-Collection <IResultObject>]
[-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
SearchByDeploymentId
Remove-CMTaskSequenceDeployment [-DeploymentId <String>] [-Force] [-Collection <IResultObject>]
[-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
SearchByName
Remove-CMTaskSequenceDeployment [-Name <String>] [-Force] [-Collection <IResultObject>]
[-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
SearchById
Remove-CMTaskSequenceDeployment [-TaskSequenceId <String>] [-Force] [-Collection <IResultObject>]
[-CollectionId <String>] [-CollectionName <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
[-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Cmdleten Remove-CMTaskSequenceDeployment tar bort en aktivitetssekvensdistribution. En aktivitetssekvensdistribution tilldelar en aktivitetssekvens till en samling datorer.
Anteckning
Kör Konfigurationshanteraren cmdlets från Konfigurationshanteraren platsenheten, till exempel PS XYZ:\>
. Mer information finns i Komma igång.
EXAMPLES
Exempel 1
PS XYZ:\> Remove-CMTaskSequenceDeployment -Name "Task Sequence 1333"
Det här kommandot tar bort en aktivitetssekvensdistribution efter namn.
PARAMETERS
-Samling
Anger ett samlingsobjekt.
Type: IResultObject
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CollectionId
Anger ID för en samling.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-CollectionName
Anger ett namn på en samling som ska ta emot en aktivitetssekvensdistribution. En samling är en grupp med klientdatorer.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-Confirm
Uppmanar dig att bekräfta innan du kör cmdleten.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DeploymentId
Anger ett distributions-ID.
Type: String
Parameter Sets: SearchByDeploymentId
Aliases: AdvertisementID, TaskSequenceDeploymentID
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Den här parametern behandlar jokertecken som värden för literaltecken. Du kan inte kombinera den med ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Force
Tvingar kommandot att köras utan att be om användarbekräftelse.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Den här parametern bearbetar jokertecken och kan leda till oväntat beteende (rekommenderas inte). Du kan inte kombinera den med DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Anger ett aktivitetssekvensdistributionsobjekt. Om du vill hämta ett aktivitetssekvensobjekt använder du cmdleten Get-CMTaskSequenceDeployment.
Type: IResultObject
Parameter Sets: SearchByValue
Aliases: Advertisement, TaskSequenceDeployment, TaskSequence
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
-Name
Anger namnet på en aktivitetssekvens.
Type: String
Parameter Sets: SearchByName
Aliases: TaskSequenceName
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True
-TaskSequenceId
Anger ID för en aktivitetssekvens.
Type: String
Parameter Sets: SearchById
Aliases: Id, TaskSequencePackageId
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Visar vad som skulle hända om cmdleten kördes. Cmdleten körs inte.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.
INPUTS
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
OUTPUTS
System.Object
ANTECKNINGAR
RELATED LINKS
New-CMTaskSequenceDeployment Get-CMTaskSequenceDeployment Set-CMTaskSequenceDeployment