Now I´m doing it thought the citrix studio console. There´s a powershell tab and it shows a resulting powershell script of this action but I can´t reuse this script because there are some 'ids' I can´t determine how to find.
I´m using XenDesktop 7.5