Get-AzRecoveryServicesAsrvCenter
Gets details of the vCenter servers registered for discovery on the Configuration server specified by the ASR fabric.
Syntax
Get-AzRecoveryServicesAsrvCenter
-Fabric <ASRFabric>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrvCenter
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzRecoveryServicesAsrvCenter
-Fabric <ASRFabric>
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzRecoveryServicesAsrvCenter cmdlet gets details of the vCenter servers registered for discovery on the Configuration server specified by the ASR fabric.
Examples
Example 1
Get-AzRecoveryServicesAsrvCenter -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/replicationFabrics/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
Get-AzRecoveryServicesAsrvCenter -Fabric $Fabric
Get azure site recovery vCenter list by fabric name.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Fabric
ASR fabric object representing the Configuration Server.
Type: | ASRFabric |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Name of the vCenter server.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
Specifies the resourceId of vCenter.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure PowerShell