< Back

Remove-AzureSiteRecoveryStorageMapping

Wed Jan 30, 2019 5:51 pm

NAME Remove-AzureSiteRecoveryStorageMapping



SYNOPSIS

Removes a Storage mapping form current Azure Site Recovery Vault





SYNTAX

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





DESCRIPTION

Removes a Storage mapping form current Azure Site Recovery Vault





PARAMETERS

-StorageMapping <ASRStorageMapping>

Storage Mapping object



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS









OUTPUTS









NOTES







Keywords: azure, azuresm, servicemanagement, management, service, site, recovery







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



PS C:\\>$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 : {}



Description



-----------













RELATED LINKS