I need to list all host's install date, is there a way to determine host install date.
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
I think it should be there in the install log.
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.
Get-VMHostPatch * | Select ID, InstallDate, VMHostID
you can try the above powercli command that will also list last patch host.
I have already tried this powerCLI but this lists last patch install date instead of original install date.
Can you try below esxcli command for build date.
esxcli software profile get
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
how could i know the creation date of machine on esxi host through ssh