To list only the directories in a directory use the following:

ls -v

To only list the directories that starts with ESX use the following

ls -v |grep “ESX”