I am trying to get the CentOS Version by PowerCLI.
I am using this cmdlt:
Get-VM | Select-Object @{N="Name";E={$_.Guest.VM}},@{N="OS";E={$_.Guest.OSFullName}} | Format-Table
It works perfect for Windows Server, but CentOS Server shows 「CentOS 4/5/6/7 (64bit)」
I want to have which version the CentOS is running on.
Does anyone know how to do it or if it is even possible...