Thank you for your contribution! It looks pretty good. The only comment I have is that you should check if the -MemberOf parameter is set (and includes a non-TCM URI value), before loading the list of all groups. In other words, not load the list of groups if you don't have to look one up by name. But I can do that change myself, no problem.
Thank you for your contribution! It looks pretty good. The only comment I have is that you should check if the -MemberOf parameter is set (and includes a non-TCM URI value), before loading the list of all groups. In other words, not load the list of groups if you don't have to look one up by name. But I can do that change myself, no problem.