VMware Cloud Community
wm1526m
Contributor
Contributor

I'm trying to get parent vCenter of a VM using PowerCLI

Hey Guys,

I'm trying to get the parent vCenter of a VM using PowerCLI.

As per the documentation "https://docs.vmware.com/en/VMware-Aria-Operations/8.12/Using-Operations/GUID-E68037C7-7FC3-41F6-9AAC... 

The parent vCenter key is "summary|parentVcenter". But when I try to get the value. It says "Could not find OMStatKey with name 'summary|parentVcenter' "

The command that I used is Get-OMStat -Resource TestVM01 -Key "summary|parentVcenter"

Labels (1)
0 Kudos
0 Replies