VMware Cloud Community
BoriszZoli
Contributor
Contributor

VC UUID get from Guest OS

Dear Everbody!

It is possible to query VC UUID from Guest OS?

I can get linux guest OS with snmp:

iso.3.6.1.2.1.25.4.2.1.5.84016 = STRING: "--color=auto XXXXXX-fff1-4336-b0eb-5fdfc343f18"

Thanks in advance

0 Kudos
3 Replies
scott28tt
VMware Employee
VMware Employee

Moderator: Thread moved to the vCenter Server area.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
sreehsn1
Contributor
Contributor

is there a way to get vc.uuid from guest os in latest version of vsphere

0 Kudos
navina
Enthusiast
Enthusiast

Through the Managed Object Browser (MOB):
RetrieveServiceContent -> Invoke Method, ManagedObjectReference:Folder -> config -> and uuid

By running a PowerShell command in the live VM
PowerShell: ([guid]((Get-WmiObject win32_bios).SerialNumber -replace "[\s-]","").Substring(6)).ToString()

Regards,
Navin A
0 Kudos