Get-​Azure​Rm​Recovery​Services​Asr​Network​Mapping

Gets information about Site Recovery network mappings for the current vault.

Syntax

Get-AzureRmRecoveryServicesAsrNetworkMapping
   -Name <String>
   -Network <ASRNetwork>
   [<CommonParameters>]

Description

The Get-AzureRmRecoveryServicesAsrNetworkMapping cmdlet gets information about Azure Site Recovery network mappings for the Recovery Services vault.

Examples

Example 1

PS C:\> $Networkmappings = Get-AzureRmRecoveryServicesAsrNetworkMapping -Network $Network

Gets all networks mappings for the passed Network.

Required Parameters

-Name

The name of the ASR network mapping object to get.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Network

Get the ASR network mappings corresponding to the specified network ASR object.

Type:ASRNetwork
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Inputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRFabric

Outputs

System.Collections.Generic.IEnumerable`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRNetworkMapping, Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]