Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Remove-AzureSiteRecoveryStorageMapping

Remove-AzureSiteRecoveryStorageMapping

microsoft.azure.commands.recoveryservices.dll

Synopsis

Removes a Storage mapping form current Azure Site Recovery Vault

Syntax

Remove-AzureSiteRecoveryStorageMapping [-StorageMapping] [<CommonParameters>]

Detailed Description

Removes a Storage mapping form current Azure Site Recovery Vault

Parameters

-StorageMapping <ASRStorageMapping>

Storage Mapping object

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

PS C:\>

Description

-----------

          $storageMapping = Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0]

          PS C:\> Remove-AzureSiteRecoveryStorageMapping -StorageMapping $storageMapping

          Name             : ClassificationUnpairing
          ID               : 32582350-28c4-4a53-8ebd-28dec9e24aca
          ClientRequestId  : 49c607cf-82fa-4317-8366-dacbe2bf479b-2015-01-30 05:30:16Z-P
          State            : InProgress
          StateDescription : InProgress
          StartTime        : 1/30/2015 5:30:20 AM
          EndTime          :
          AllowedActions   :
          Tasks            : {Prerequisites check for unmapping classifications, Unmapping classifications}
          Errors           : {}