VMware Cloud Community
bhards4
Hot Shot
Hot Shot

To get the ESXi install date

Hi,

Need to know how to fetch the install date of base esxi from Esxi command or from Power cli.

Regards,

Bhards4

5 Replies
rcporto
Leadership
Leadership

Check if helps: How To Determine ESXi Host Major Version, Install Date with PowerCLI -- Virtualization Review

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
bhards4
Hot Shot
Hot Shot

Hi,

I have already tried mentioned script but its giving blank output

Get-VMHostPatch * | Select ID, InstallDate, VMHostID

Get-VMHost | Select ID, name

Regards,

Bhards4

0 Kudos
bhards4
Hot Shot
Hot Shot

Looks like there is some issue into my vCenter DB from which Im trying to fetch this info. I tried same for other vCenter and it works fine.

Pls let me know if there is any local command which I can try directly from Esxi to get the installation date.

Regards,

Bhards4

0 Kudos
MKguy
Virtuoso
Virtuoso

As a similar approach, try with this command that outputs the unique vib install dates of all packages and look for the oldest:

# esxcli software vib list | awk {'print $5'} | sort | uniq | sort -rn

A lot of packages never received updates since GA, so their install date will indicate the system's whole install date even on a fully patched current system:

-- http://alpacapowered.wordpress.com
thompsoa
Enthusiast
Enthusiast

Hi!

You can run the following command: uname -a. It will display the following information:

ie.

~ # uname -a

VMkernel "server_name" "esxi_version" #1 SMP Release build-2718055 May  5 2015 17:30:13 x86_64 GNU/Linux

Hope it helps!

Alicia

Alicia Thompson www.bakingclouds.com Twitter:@bakingclouds