Remove-​Azure​Rm​Recovery​Services​Asr​Storage​Classification​Mapping

Deletes the specified ASR storage classification mapping.

Syntax

Remove-AzureRmRecoveryServicesAsrStorageClassificationMapping
      -InputObject <ASRStorageClassificationMapping>
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-AzureRmRecoveryServicesAsrStorageClassificationMapping cmdlet deletes the specified Azure Site Recovery storage classification mapping.

Examples

Example 1

PS C:\> $currentJob = Remove-AzureRmRecoveryServicesAsrStorageClassificationMapping -StorageClassificationMapping $StorageClassificationMapping

Starts the deletion of specified storage classification mapping and returns the ASR job used to track the operation.

Required Parameters

-InputObject

The input object to the cmdlet: The ASR storage classification mapping object corresponding to the ASR storage classification mapping to be deleted.

Type:ASRStorageClassificationMapping
Aliases:StorageClassificationMapping
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: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.Azure.Commands.RecoveryServices.SiteRecovery.ASRStorageClassificationMapping

Outputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRJob