Solved

Vspher CLI: Script  For Serial No of ESXi host

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

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 119
ID: 39652680
what servers do you have?

did you see the script?
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

808 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