Get-AzureRmSiteRecoveryNetworkMapping

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

Syntax

Get-AzureRmSiteRecoveryNetworkMapping
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryNetworkMapping
   -PrimaryFabric <ASRFabric>
   -RecoveryFabric <ASRFabric>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryNetworkMapping
   -PrimaryFabric <ASRFabric>
   [-Azure]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryNetworkMapping
   [-Azure]
   -PrimaryServer <ASRServer>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzureRmSiteRecoveryNetworkMapping
   -PrimaryServer <ASRServer>
   -RecoveryServer <ASRServer>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

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

Required Parameters

-Azure

Indicates that the command gets a list of network mappings for networks on the primary server mapped to Azure virtual networks.

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrimaryFabric
Type:Microsoft.Azure.Commands.SiteRecovery.ASRFabric
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-PrimaryServer
Type:Microsoft.Azure.Commands.SiteRecovery.ASRServer
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-RecoveryFabric
Type:Microsoft.Azure.Commands.SiteRecovery.ASRFabric
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RecoveryServer
Type:Microsoft.Azure.Commands.SiteRecovery.ASRServer
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ASRFabric

Parameter 'PrimaryFabric' accepts value of type 'ASRFabric' from the pipeline

Inputs

ASRServer

Parameter 'PrimaryServer' accepts value of type 'ASRServer' from the pipeline

Outputs

System.Collections.Generic.IEnumerable`1[Microsoft.Azure.Commands.SiteRecovery.ASRNetworkMapping]