List my hosts BIOS version

Today i was asked to confirm the BIOS version of all the hosts in a customers estates to allow them to plan an upgrade. Initially they had planned to check each iLO individually which would have been extremely time consuming, fortunately, there is a quick PowerCLI method:

get-vmhost | select name,
@{N=" Model";E={($_ | get-view).hardware.systeminfo.Model}},
@{N=" Bios Version";E={($_ | get-view).hardware.BiosInfo.BiosVersion}},
@{N=" Bios Release Date";E={($_ | get-view).hardware.BiosInfo.ReleaseDate}} | Sort " Bios Release Date"


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.