Have you ever found yourself wondering when a certain ESXi server was installed? In this case VMware GSS has your back. Check out KB 2144905 to find a simple esxcli command that dissects the hosts UUID to give you the installation date of that specific host. But what if you want to audit an entire cluster? This is where Powershell can help you out.

The KB article describes how the date is derived from the first part of the UUID. This is a hex representation of a UNIX timestamp. When converted to an integer you can use this to calculate the installation date. Because yes, most of us cannot interpret a UNIX timestamp like Neo can. 😁

That is why us mere mortals can use the power of Powershell to create an overview. I created this function to replicate the one-liner from VMware. Have fun using it if you ever need to query the install date on your ESXi hosts.

Leave a Reply

Your email address will not be published. Required fields are marked *