Remove-AzureRmSiteRecoveryProtectionContainerMapping

Removes an Azure Site Recovery Protection Container mapping.

Syntax

Remove-AzureRmSiteRecoveryProtectionContainerMapping
      -ProtectionContainerMapping <ASRProtectionContainerMapping>
      [-Force]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AzureRmSiteRecoveryProtectionContainerMapping cmdlet removes an Azure Site Recovery Protection Container mapping.

Required Parameters

-ProtectionContainerMapping

Specifies the Azure Site Recovery Protection Container mapping object.

Type:Microsoft.Azure.Commands.SiteRecovery.ASRProtectionContainerMapping
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

Type:System.Management.Automation.SwitchParameter
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:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRProtectionContainerMapping

Parameter 'ProtectionContainerMapping' accepts value of type 'ASRProtectionContainerMapping' from the pipeline

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob