< Back

Get-AzureRmRecoveryServicesAsrNetwork

Tue Jan 29, 2019 10:02 pm

NAME Get-AzureRmRecoveryServicesAsrNetwork



SYNOPSIS

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





SYNTAX

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



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





DESCRIPTION

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





PARAMETERS

-DefaultProfile <IAzureContextContainer>

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Fabric <ASRFabric>

ASR fabric object



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-FriendlyName <String>

Friendly name of network ASR object.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Name of network ASR object.



Required? true

Position? named

Default value None

Accept pipeline input? False

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



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]]







NOTES









Example 1



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



Gets all known networks in the specified fabric.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... asrnetwork