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

Gets information about the networks managed by Site Recovery for the current vault.

Syntax

Get-AzureRmRecoveryServicesAsrNetwork
   -Fabric <ASRFabric>
   -FriendlyName <String>
   [<CommonParameters>]
Get-AzureRmRecoveryServicesAsrNetwork
   -Fabric <ASRFabric>
   -Name <String>
   [<CommonParameters>]

Description

The Get-AzureRmRecoveryServicesAsrNetwork cmdlet gets information about Azure Site Recovery networks for the current Azure Site Recovery vault.

Examples

Example 1

PS C:\> $Networks = Get-AzureRmRecoveryServicesAsrNetwork -Fabric $Fabric

Gets all known networks in the specified fabric.

Required Parameters

-Fabric

ASR fabric object

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

Friendly name of network ASR object.

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

Name of network ASR object.

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

Inputs

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRFabric

Outputs

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