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}}
You can access those properties via the ExtensionData property.
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
You can access those properties via the ExtensionData property.
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
Thank Lucd, thanks for helping and now i learn how to merge it.