VMware Cloud Community
cheeweng
Contributor
Contributor
Jump to solution

Hardware information including Bios Firmware version

Hi with reference to discussion ID Getting Host Hardware Information through PowerCLI , May i know if any ways to merge all hardware information such as Bios firmware build of the hardware

Also found this information which allow me to get information of Bio firmware

Get-View -ViewType HostSystem | Select Name,@{N="BIOS version";E={$_.Hardware.BiosInfo.BiosVersion}},  

   @{N="BIOS date";E={$_.Hardware.BiosInfo.releaseDate}}

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can access those properties via the ExtensionData property.

Get-VMHost |

Select-Object -Property Name,Manufacturer,Model,ProcessorType,

    @{Name="NumCpuPackages";Expression={$_.ExtensionData.hardware.CpuInfo.NumCpuPackages}},

    @{Name="NumCpuCores";Expression={$_.ExtensionData.hardware.CpuInfo.NumCpuCores}},

    CpuTotalMhz,CpuUsageMhz,MemoryTotalGB,MemoryUsageGB,Version,

    @{N="BIOS version";E={$_.ExtensionData.Hardware.BiosInfo.BiosVersion}},

    @{N="BIOS date";E={$_.ExtensionData.Hardware.BiosInfo.releaseDate}} |

Export-Csv -Path VMHostInfo.csv -NoTypeInformation -UseCulture


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

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

You can access those properties via the ExtensionData property.

Get-VMHost |

Select-Object -Property Name,Manufacturer,Model,ProcessorType,

    @{Name="NumCpuPackages";Expression={$_.ExtensionData.hardware.CpuInfo.NumCpuPackages}},

    @{Name="NumCpuCores";Expression={$_.ExtensionData.hardware.CpuInfo.NumCpuCores}},

    CpuTotalMhz,CpuUsageMhz,MemoryTotalGB,MemoryUsageGB,Version,

    @{N="BIOS version";E={$_.ExtensionData.Hardware.BiosInfo.BiosVersion}},

    @{N="BIOS date";E={$_.ExtensionData.Hardware.BiosInfo.releaseDate}} |

Export-Csv -Path VMHostInfo.csv -NoTypeInformation -UseCulture


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

0 Kudos
cheeweng
Contributor
Contributor
Jump to solution

Thank Lucd, thanks for helping and now i learn how to merge it.

0 Kudos