April 23, 2009

Find the update version of an ESX 3.5 server

Need to know the release version (Update 3, Update 4, etc.) of the ESX 3.5 servers in an environment, but don't want to consult a chart of build numbers? Just execute this command as root:


esxupdate query | grep -o 'ESX Server 3.5.0 Update.*' | sort | tail -n 1

If the server is a build of ESX prior to Update 1, the command will return nothing. It's nice to have the update version in this familiar format for documentation.

No comments:

Post a Comment