I don't use remote copy these days but I recommend working with the python sdk. I don't know if all functions are supported when it falls back to using ssh though, so I recommend running the wsapi service (cli reference doc has the commands needed to enable it).
https://github.com/hpe-storage/python-3parclientThere's a getRemoteCopyGroups function which should (depending on OS version) return the items from the tables starting on page 358 here:
https://support.hpe.com/hpsc/doc/public ... =c03606339The function is just a GET request against
https://<storage_server>:8080/v1/remotecopygroups if you'd rather not use the sdk or if you'd prefer to use powershell or something else to interact with the wsapi.
From there you can format the output however you want and run the script with cron.