Can you find the list of robots connected to a hub from the pu command?
pu -u USERNAME -p PASSWORD hub getrobots
That should work from the same machine the pu command is run from. You can also point that to a nimaddress.
This should help:
I would also like to know how you get only the robot names and not all of the details.
.../hub getrobots ?
In most cases you need to parse the results yourself. So my answer would typically be to use grep (even on Windows).
The other option is to create a script using one of the Nimsoft SDK languages. In the script, you could issue the request and extract just the data you want before sending it to stdout.
Retrieving data ...