How to export a group list via UIMAPI or SQL
Any UIM Version
If it's a simple list of servers you can do it via UIMAPI calls or directly via a sql query:
-- get all groups and get group-id
curl -X GET "http://<hostname>/uimapi/devicegroups" -H "accept: application/json"
-- use group-id to request members
curl -X GET "http://<hostname>/uimapi/devicegroups/10/members" -H "accept: application/json"
-- or via sql:
SELECT CS.cs_id,CS.name as robotname,CG.name as groupname
FROM cm_computer_system AS CS WITH (NOLOCK)
INNER JOIN cm_group_member AS GM WITH (NOLOCK) ON GM.cs_id = CS.cs_id
INNER JOIN cm_group AS CG WITH (NOLOCK) ON GM.grp_id = CG.grp_id
where CG.name = 'test'