< Back

Get-AzureRmRecoveryServicesAsrFabric

Tue Jan 29, 2019 10:02 pm

NAME Get-AzureRmRecoveryServicesAsrFabric



SYNOPSIS

Get the details of an Azure Site Recovery Fabric.





SYNTAX

Get-AzureRmRecoveryServicesAsrFabric [-DefaultProfile <IAzureContextContainer>] -FriendlyName <String> [<CommonParameters>]



Get-AzureRmRecoveryServicesAsrFabric [-DefaultProfile <IAzureContextContainer>] -Name <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmRecoveryServicesAsrFabric cmdlet gets the properties of a specified Azure Site Recovery Fabric or all Azure Site Recovery Fabrics

in a Recovery Service 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



-FriendlyName <String>

Search for the ASR fabric by the friendly name of the fabric.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Search for the ASR fabric by the name of the fabric.



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

None







OUTPUTS

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRFabric,

Microsoft.Azure.Commands.RecoveryServices.SiteRecovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null]]







NOTES









Example 1



PS C:\\> $fabrics = Get-AzureRmRecoveryServicesAsrFabric



Returns all the Azure Site Recovery fabrics in the vault.





Example 2



PS C:\\> $fabric = Get-AzureRmRecoveryServicesAsrFabric -Name xxxx



Name : xxxx

FriendlyName : XXXXXXXXXX

ID : /Subscriptions/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vault

s/XXXXXXXXXXXXX/replicationFabrics/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

FabricType : VMware

SiteIdentifier : XXXXXXXXxxxxxxxxxxx

FabricSpecificDetails : Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVMWareSpecificDetails



Return azure site recovery fabric with name xxxx.





Example 3



PS C:\\> $fabric = Get-AzureRmRecoveryServicesAsrFabric -FriendlyName XXXXXXXXXX



Name : xxxx

FriendlyName : XXXXXXXXXX

ID : /Subscriptions/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vault

s/XXXXXXXXXXXXX/replicationFabrics/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

FabricType : VMware

SiteIdentifier : XXXXXXXXxxxxxxxxxxx

FabricSpecificDetails : Microsoft.Azure.Commands.RecoveryServices.SiteRecovery.ASRVMWareSpecificDetails



Return azure site recovery fabric with friendly name xxxx.







RELATED LINKS

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

New-AzureRmRecoveryServicesAsrFabric

Remove-AzureRmRecoveryServicesAsrFabric