< Back

Get-AzureRmRecoveryServicesAsrvCenter

Tue Jan 29, 2019 10:01 pm

NAME Get-AzureRmRecoveryServicesAsrvCenter



SYNOPSIS

Gets details of the vCenter servers registered for discovery on the Configuration server specified by the ASR fabric.





SYNTAX

Get-AzureRmRecoveryServicesAsrvCenter [-DefaultProfile <IAzureContextContainer>] -Fabric <ASRFabric> [<CommonParameters>]



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



Get-AzureRmRecoveryServicesAsrvCenter [-DefaultProfile <IAzureContextContainer>] -ResourceId <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmRecoveryServicesAsrvCenter cmdlet gets details of the vCenter servers registered for discovery on the Configuration server

specified by the ASR fabric.





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 representing the Configuration Server.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

Name of the vCenter server.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceId <String>

Specifies the resourceId of vCenter.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

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.ASRvCenter,

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







NOTES









Example 1



PS C:\\> Get-AzureRmRecoveryServicesAsrvCenter -Fabric $Fabric -Name $Name



FriendlyName : inmtest81

Server : 10.150.209.27

Port : 443

Name : inmtest81

ID : /Subscriptions/xxxxxxxxxxx/resourceGroups/canaryexproute/providers/Microsoft.RecoveryServices/vaults/xxxxxxxxx/replicationF

abrics/xxxxxxxxxxxxxxxxx/replicationvCenters/inmtest81

FabricArmResourceName : d011a5abf48190235963ee3a88ad188ee6bca8a4c6cd0c8d7ce5d439aa77ffd9

ProcessServerId : 526C9B6C-4039-D841-97A92FB0BD153B53

AccountId : 2

DiscoveryStatus : Pending

LastHeartbeat :



Get azure site recovery vCenter by fabric name and name of vCenter.





Example 2



PS C:\\> Get-AzureRmRecoveryServicesAsrvCenter -Fabric $Fabric



Get azure site recovery vCenter list by fabric name.







RELATED LINKS

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