VMware Cloud Community
Noor2122
Enthusiast
Enthusiast
Jump to solution

how to determine esxi host install date

I need to list all host's install date, is there a way to determine host install date.

- Noor Mohammad
Reply
0 Kudos
1 Solution

Accepted Solutions
Noor2122
Enthusiast
Enthusiast
Jump to solution

we need to use following command to get the esxi host install date,

echo -n "ESXi install date: " ; date -d @$(printf "%d" 0x$(esxcli system uuid get | cut -d \- -f1 ))


Reference: VMware KB: Determining the installation date of an ESXi host

- Noor Mohammad

View solution in original post

Reply
0 Kudos
7 Replies
CoolRam
Expert
Expert
Jump to solution

I think it should be there in the install log.

If you find any answer useful. please mark the answer as correct or helpful.
Reply
0 Kudos
Noor2122
Enthusiast
Enthusiast
Jump to solution

These hosts are more than 3 years old so i don't think its possible to determine install date from logs, anyways thanks for your reply.

- Noor Mohammad
Reply
0 Kudos
CoolRam
Expert
Expert
Jump to solution

Get-VMHostPatch * | Select ID, InstallDate, VMHostID

you can try the above powercli command that will also list last patch host.


If you find any answer useful. please mark the answer as correct or helpful.
Reply
0 Kudos
Noor2122
Enthusiast
Enthusiast
Jump to solution

I have already tried this powerCLI but this lists last patch install date instead of original install date.

- Noor Mohammad
Reply
0 Kudos
Srinivasu13
Enthusiast
Enthusiast
Jump to solution

Can you try below esxcli command for build date.

esxcli software profile get

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards, Srini
Reply
0 Kudos
Noor2122
Enthusiast
Enthusiast
Jump to solution

we need to use following command to get the esxi host install date,

echo -n "ESXi install date: " ; date -d @$(printf "%d" 0x$(esxcli system uuid get | cut -d \- -f1 ))


Reference: VMware KB: Determining the installation date of an ESXi host

- Noor Mohammad
Reply
0 Kudos
samouelyoussry
Contributor
Contributor
Jump to solution

how could i know the creation date of machine on esxi host through ssh 

Reply
0 Kudos