Get ESXi Hardware Serial Number with PowerCLI

If you’re auditing your vSphere hardware inventory here’s a PowerShell/ PowerCLI snippet to show the Vendor, Model, and Serial Number of all the ESXi hosts in your environment.