I have recently been working on a asset inventory issue where I was provided a list of serial numbers from our hardware vendor and I was asked to reconcile it with what we had. Well that is easier said than done in most cases.
I know that vCenter collects a bunch of hardware information and I wanted to see if there was a way to pull the Serial number that is on the System board and put that information into a .csv.
In comes the following command:
Get-VMHost | Get-VMHostHardware -SkipAllSslCertificateChecks | Export-Csv C:\temp\VMHostHardware.csv
This command will pull all the hardware information that vCenter records and puts it to a .CSV.
I will do my best to update this post with an example of what the results will look like.
I hope you find this post helpful, if so please share with your friends.
Covering topics of error messages, installation guides, and How To Articles for Windows Server and Workstations, VMWare, and Home Automation using Home Assistant.
Subscribe to:
Post Comments (Atom)
I have moved!!!
Please check out my new blog which now contains all my old posts and some new goodies as well. I can now be found at http://www.kenbshinn.c...
-
In a previous Post I mentioned an issue that I had with a Certificate template on my Internal Enterprise CA not showing up when I tried to r...
-
As you know when you installed Exchange all of the Virtual Directories use the FQDN of the server as the URLs for the Exchange Virtual Direc...
-
The other day I was tasked with deploying a Infoblox OVA in our Lab environment. I was under the impression that this was going to be a simp...
No comments:
Post a Comment