Below script can be used to extract the BIOS version of ESXi hosts in the vCenter farm.
Input file is the list of ESXi hosts in the servers.txt file
$servers = Get-Content "E:\servers.txt"
$report = @()
foreach ($server in $servers)
{
$report = systeminfo /S $server | findstr /I /c:BIOS
Write-Output $server $report
}
Comments
Post a Comment