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
 

Get-AzureSiteRecoveryStorageMapping

Get-AzureSiteRecoveryStorageMapping

microsoft.azure.commands.recoveryservices.dll

Synopsis

Get information about Azure Site Recovery Storage mappings for current Azure Site Recovery Vault

Syntax

Get-AzureSiteRecoveryStorageMapping [-PrimaryServer] [-RecoveryServer] [<CommonParameters>]

Detailed Description

Get information about Azure Site Recovery Storage mappings for current Azure Site Recovery Vault

Parameters

-PrimaryServer <ASRServer>

Primary Server object

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RecoveryServer <ASRServer>

Recovery Server object

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

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

C:\PS>

Description

-----------

          $servers = Get-AzureSiteRecoveryServer

          PS C:\> Get-AzureSiteRecoveryStorageMapping -PrimaryServer $servers[0] -RecoveryServer $servers[0]

          PrimaryServerId     : 774859b0-1966-48cc-9df7-759c441b7a8c
          PrimaryStorageId    : 1c1d0c0b-0c50-4675-af1a-1fdac70dbb6d
          PrimaryStorageName  : phase2PrimaryStorageClassification
          RecoveryServerId    : 774859b0-1966-48cc-9df7-759c441b7a8c
          RecoveryStorageId   : 20cf8d92-fd5d-4872-985a-0f4562b8a0bf
          RecoveryStorageName : phase2RecoveryStorageClassification