VMware Cloud Community
VJ2019
Contributor
Contributor

PowerCLI 12.x

Hi All.

How can I get some detailed information about the guest OS on a running VM like Major Version, Minor Version, Build Infos, Kernel Infos and the OS Friendly Name?

 

A collegue gives me a hint with VM Tools I think:

guestOS.detailed.data

and the content: 

bitness='64' distroName='SLES' distroVersion='15.2' familyName='Linux' kernelVersion='5.3.18-24.75-default' prettyName='SUSE Linux Enterprise Server 15 SP2'

 

The only Power CLI value is the GuestFullName, but this one is not the same like prettyName. Which Power CLI property gives me those values?

 

Thanks in advance

 

0 Kudos
1 Reply
LucD
Leadership
Leadership

If the requirements are met, you can also retrieve those values from VMware Tools

Get-VM -Name MyVM| 
Get-AdvancedSetting -Name guestinfo.detailed.data | 
Select -ExpandProperty Value


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos