VMware Cloud Community
Guv
Enthusiast
Enthusiast

Hardware audit of ESX servers

I need to full audit of our esx servers which run on dell poweredge r815 servers.  Its part of our asset management.  I thought to do this, i could use powershell to get some hardware information of the esx servers.  The information I need is :

Serial Number/Asset Tag

Cpu brand

Cpu cache size

Ram quantity and type allocation (eg.  8 * 1GB)

Pagefile/Swap size

Motherboard BIOS Version

Mac Address of Vmnic

Storage Controller brand/Model

Local storage RAID

Local Storage partitions

Can powershell help to get some or all of the information above

Thanks

.

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

Part of the HW info you're looking for can be obtained through the CIM interface.

Have a look at Robert's script in Script to get serial number of all hosts to start with.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
Guv
Enthusiast
Enthusiast

lucd,

Is it possible to get all the information I have listed via powershell, using cmdlets for hosts and networking.

Do you know of any.

We will be doing this regularly know on our hosts

Reply
0 Kudos
georgep
Contributor
Contributor

LucD

I too need such a script. My esx host's are mainly Dell or IBM but i cannot seem to be able to get the asset tag or bios version for Dell.

If you could crack this then that would be great.

Reply
0 Kudos