AGFlora
Enthusiast
Enthusiast

VM OS Report

Jump to solution

Hi

Does anyone have a script handy that will get me the following info::

VMName CLuster OS Tools Status

Thanks!

0 Kudos
1 Solution

Accepted Solutions
kunaludapi
Expert
Expert

Get-VM  | Select-Object Name, Vmhost, @{N="Cluster"; E={($_ | Get-Cluster).Name}}, @{N="ToolsStaus"; E={$_.extensiondata.guest.toolsversionstatus}}, @{N="Operating system"; E={@($_.guest.OSfullname)}}


for complete VM inventory checkout below script.

vGeek: Extra Extended VM inventory using powercli - Part 2

--------------------------------------------------------------- Kunal Udapi Sr. System Architect (Virtualization, Networking And Storage) http://vcloud-lab.com http://kunaludapi.blogspot.com VMWare vExpert 2014, 2015, 2016 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

View solution in original post

0 Kudos
4 Replies
kunaludapi
Expert
Expert

Get-VM  | Select-Object Name, Vmhost, @{N="Cluster"; E={($_ | Get-Cluster).Name}}, @{N="ToolsStaus"; E={$_.extensiondata.guest.toolsversionstatus}}

--------------------------------------------------------------- Kunal Udapi Sr. System Architect (Virtualization, Networking And Storage) http://vcloud-lab.com http://kunaludapi.blogspot.com VMWare vExpert 2014, 2015, 2016 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos
AGFlora
Enthusiast
Enthusiast


Thanks but how would I add the OS version?

0 Kudos
kunaludapi
Expert
Expert

Get-VM  | Select-Object Name, Vmhost, @{N="Cluster"; E={($_ | Get-Cluster).Name}}, @{N="ToolsStaus"; E={$_.extensiondata.guest.toolsversionstatus}}, @{N="Operating system"; E={@($_.guest.OSfullname)}}


for complete VM inventory checkout below script.

vGeek: Extra Extended VM inventory using powercli - Part 2

--------------------------------------------------------------- Kunal Udapi Sr. System Architect (Virtualization, Networking And Storage) http://vcloud-lab.com http://kunaludapi.blogspot.com VMWare vExpert 2014, 2015, 2016 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos
AGFlora
Enthusiast
Enthusiast

That worked. Thanks!

0 Kudos