Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 150956

Re: Script to export BIOS

$
0
0

I use the below script to audit BIOS versions on our Dell servers which outputs model, BIOS version and date.

looks here as well

http://vnugglets.com/2011/11/get-hp-firmware-info-for-hp-vmware.html

 

$report = @()
Get-View -ViewType HostSystem -Property Name,  Hardware.SystemInfo.Model,  Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo |
Foreach-Object {     $row = "" |Select Name, Model, "BIOS Version", "BIOS Date"     $row.name = $_.name     $row.Model = $_.Hardware.SystemInfo.Model     $biosTemp = ((($_.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo |       Where {$_.Name -like "*BIOS*"}).Name -split "BIOS ")[1] -split " ")     $row."BIOS Version" = $biosTemp[0]     $row."BIOS Date" = $biosTemp[1]     $report += $row
}
$report | Sort-Object -Property Name | Format-Table -autosize

Viewing all articles
Browse latest Browse all 150956

Trending Articles