Hello Lobachev,
Most of this info you can get using PowerCLI from:
$Hardware = Get-VMhost | where {$_.ConnectionState –eq $true} | Get-VMHostHardware
Audit and Manage ESXi Hosts with PowerCLI - VMware PowerCLI Blog - VMware Blogs
And version build using Get-VMHostVersion
https://www.virten.net/2017/09/get-vmhostversion-and-get-vmhostlatestversion-powershell-function/
If you want to do this direct from host CLI then most of this information is in 'esxcfg-info -a' (but you need to know where) and 'vmware -vl' for build version
Bob