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...
-
To start, let me apologize for not taking screen shots to share this issue. If this issue occurs in the future I will be sure to take them t...
-
I have been away for a while, but in my absence I have been playing with a Home Automation System called Home Assistant. You can find out mo...
-
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