Home / Articles / VMWare / Finding server tag on a Dell that is running VMWare ESX as host OS

Finding server tag on a Dell that is running VMWare ESX as host OS

Finding server tag on a Dell that is running VMWare ESX as host OS.

 First make sure you have PowerShell installed.  In this example I used PowerShell 1.0

After you have successfully installed powershell execute the following in powershell

Set-ExecutionPolicy RemoteSigned

The above command will allow you to install any script that you create.  It will also allow you to install downloaded scripts from the Internet only if they have been signed by a trusted publisher.

Now you will need to download VMWare vSphere PowerCLI, current version is VMWare vSphere PowerCLI 4.0 Update 1. 

Once you have everything installed open up the vSpherePowerCLI.

Issue the “Connect-VIServer” command   –without the quotes

Enter the IP address of the VMWare server, one you are done hit enter twice.  Most likely you will get an SSL certificate error unless you have already trusted the SSL certificate of your VMWare server.  A windows login prompt will come up where you will have to login.

Once you are logged in it will look like the screen below

 

Now issue the following command

“(Get-VMHost | Get-View).Summary.Hardware.OtherIdentifyingInfo[1].IdentifierValue”  –without the quotes

This will display the service tag of the machine.  Currently this has only been tested on Dell machines, but should work the same for HP.

Share


Comment on Finding server tag on a Dell that is running VMWare ESX as host OS

4 Responses to “ Finding server tag on a Dell that is running VMWare ESX as host OS ”

  1. Nathan Owen on May 13th, 2011 4:13 pm

    Frikken awesome.. nice one guys ;)

  2. Joshua Hanley on April 20th, 2012 7:48 pm

    Thank you, thank you, thank you!

  3. Sam on April 21st, 2013 9:16 am

    you guys at NOYNIM are the best and always know what you are talking about.

  4. jacdqgpre on September 25th, 2013 10:25 pm

    Denver Computer Services NOYNIM is the best

Leave a Reply






Contact Us