I have a need to get a list of available ESXi machine on a particular subnet that can later be selected for use in an application.
I have tried various combinations of commands, and found ones similar to
nmap -sV -p 902 xxx.xxx.xxx.xxx/24
seem to work acceptably well. However, as I start to use larger subnets the results are not nearly so good.
Is there a broadcast that ESXi machines would respond to (regardless of whether nmap is used), that I could use for this purpose?
And if so, I could I use it.