You have few different ways to do it:
1 - Nas lua script and modify it only to return the robot information.
https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=347072 - Via IM console > Tools > Find > Robots > then either > Print or > Ctrl + A, then Ctrl + C, and then past into a spreadsheet.
3 - Execute to get all Hubs in your UIM Domain:"C:\Program Files\Nimsoft\bin\pu.exe" -u administrator -p PASSWORD /UIM_Domain/PrimaryHubName/PrimaryHubRobotName/hub gethubs
then cut out the hub addresses (REGEX: /addr\s+PDS_PCH\s+\d+\s+(\S+)$/) and execute for each hub to get the robots connected to each hub:
"C:\Program Files\Nimsoft\bin\pu.exe" -u administrator -p PASSWORD /UIM_Domain/Hub_n_Name/Hub_n_RobotName/hub getrobots ""
Then cut out the robot names (REGEX: /name\s+PDS_PCH\s+\d+\s+(\S+)$/) for further processing.