Reply to Message

View discussion in a popup

Replying to:
GaelV
Enthusiast
Enthusiast

Hi,

You can try this, the display is not very good but you got all the information :

You have to write your cluster or * in the $esx line

$esx = Get-Cluster "YourCluster or * " | Get-VMHost

foreach ($esx in $esxHosts) {

    $esx | Select Name,ProcessorType,NumCpu,MemoryTotalGB,Version,Build

    $esx | Get-View | Select @{N="Uptime"; E={(Get-Date) - $_.Summary.Runtime.BootTime}}| fl

    $esx | Select @{Name="NTPServers"; Expression = {($esx | Get-VMHostNTPServer)} } | fl

    $esx | Get-VMHostNetwork | Select DnsAddress | fl

    $esx | Get-VMHostHardware | Select BiosVersion | fl

}

It only misses   ID CPU and   Bios Date, i'm working on this..

Reply
0 Kudos