?
Solved

Vspher CLI: Script  For Serial No of ESXi host

Posted on 2013-11-15
3
Medium Priority
?
2,199 Views
Last Modified: 2013-11-23
Hi,

Anybody please share me script used to fetch the Serial No of ESXi hosts as i have 400 esxi details need to consolidate.

Or

Please let me know the vsphere cli command for the same
0
Comment
Question by:kbjijo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 123

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 total points
ID: 39652142
this depends on your hardware, vendor, make and model, are you using the vendors version of ESXi, which version of ESXi

see this script here:-

http://philthevirtualizer.com/2012/02/17/powercli-get-hp-dl-server-serial-number-via-vcenter-and-ilo/

otherwise you can also use:-

/sbin/esxcli hardware platform get

or

/usr/sbin/dmidecode |grep -A4 “System Information”

but depends on ESXi version
0
 

Author Comment

by:kbjijo
ID: 39652480
I am looking for the command remotely too pull the information ( Apprx: 400 ESXi)

Please let em know the vSphere CLI Cmdlet.

_.Hardware.SystemInfo.OtherIdentifyingInfo[0].IdentifierValue _> This value returns NULL for my ESXi.
0
 
LVL 123
ID: 39652680
what servers do you have?

did you see the script?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question