Hi,
Need to know how to fetch the install date of base esxi from Esxi command or from Power cli.
Regards,
Bhards4
Check if helps: How To Determine ESXi Host Major Version, Install Date with PowerCLI -- Virtualization Review
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
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
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:
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