Remove-​Azure​Rm​Site​Recovery​Protection​Container​Mapping

Removes an Azure Site Recovery Protection Container mapping.

Syntax

Remove-AzureRmSiteRecoveryProtectionContainerMapping
      -ProtectionContainerMapping <ASRProtectionContainerMapping>
      [-Force]
      [-Confirm]
      [-WhatIf]
      [<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: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:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Force

Forces the command to run without asking for user confirmation.

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

Outputs

Microsoft.Azure.Commands.SiteRecovery.ASRJob