Remove-CMBaselineDeployment

Removes a baseline deployment

Syntax

Remove-CMBaselineDeployment
      [-DeploymentId <String>]
      [-Force]
      [-CollectionName <String>]
      [-CollectionId <String>]
      [-Collection <IResultObject>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-CMBaselineDeployment
      -InputObject <IResultObject>
      [-Force]
      [-CollectionName <String>]
      [-CollectionId <String>]
      [-Collection <IResultObject>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-CMBaselineDeployment
      [-Name <String>]
      [-Force]
      [-CollectionName <String>]
      [-CollectionId <String>]
      [-Collection <IResultObject>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-CMBaselineDeployment
      [-SmsObjectId <Int32>]
      [-Force]
      [-CollectionName <String>]
      [-CollectionId <String>]
      [-Collection <IResultObject>]
      [-DisableWildcardHandling]
      [-ForceWildcardHandling]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Examples

Example 1

PS C:\>

Required Parameters

-InputObject
Type:IResultObject
Aliases:Assignment, BaselineDeployment, Baseline
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Collection
Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CollectionId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CollectionName
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentId
Type:String
Aliases:AssignmentUniqueID, BaselineDeploymentID
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name
Type:String
Aliases:BaselineName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SmsObjectId
Type:Int32
Aliases:CI_ID, BaselineID
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object