Solved

Vspher CLI: Script  For Serial No of ESXi host

Posted on 2013-11-15
3
1,951 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
  • 2
3 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
Comment Utility
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 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
what servers do you have?

did you see the script?
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VMWare 6 crashing 14 52
vswitch question 6 40
Issue with VM machine on ESXi 4.1 19 36
How to Sysprep a Windows 2012 Cloned Server 2 35
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now