PowerCLI

 View Only
  • 1.  Hardware information including Bios Firmware version

    Posted Jul 08, 2020 03:21 AM

    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}}



  • 2.  RE: Hardware information including Bios Firmware version
    Best Answer

    Posted Jul 08, 2020 05:11 AM

    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



  • 3.  RE: Hardware information including Bios Firmware version

    Posted Jul 08, 2020 06:47 AM

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