how to check the ESXi Install date

c_hockland
c_hockland used Ask the Experts™
on
Hi
is there a powerCli script that can produce the ESXi install date ( not the patch date ) for the physical hosts ?
I am trying to see what new ESXi server we deployed in 2015.
Any help would be appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
have you hosts been patched (ever!) or just standard ESXi install ?

Author

Commented:
no patches.
Just Esxi Install.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
okay, check for the date of esx-base, this can give an indication of the install date.

also a

 esxcli software profile get

can give you a creation time.

try this

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

Open in new window


using the above code, gives dates of all changes and patches, and if you look at the first date, this gives a good date for installation date.

Author

Commented:
thank you sir.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
no problems.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial