VMware Cloud Community
sbb72
Contributor
Contributor

How to find SRM and vROPs servers connected to vCenter.

Hi

I want to query vCenter to discover what SRM and vROPs appliances are connected via PowerCLI.  I've been using the following:

Connect-VIServer vcenter01

$vcenterconnections = Get-View ExtensionManager

$vcenterconnections = $vcenterconnections.ExtensionData.ExtensionList | Where-Object {$_.key -eq "com.vmware.vrops"}

$vcenterconnections.Server 

This displays the IP of vROPs within a URL  but not the name (fqdn) or version of vROPs.

Is there a way or get what is connected to vCenter (SRM, vROPs etc) via querying vCenter rather than vROPS and SRM appliances themselves? 

Labels (3)
0 Kudos
0 Replies