Solved

Vspher CLI: Script  For Serial No of ESXi host

Posted on 2013-11-15
3
2,142 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 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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 121
ID: 39652680
what servers do you have?

did you see the script?
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

724 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