I'm trying to assign some rights in Exchange 2010 using powershell... nothing special
[PS] C:>add-mailboxpermission -user "j.doe" -accessrights extendedright -extendedrights ms-exch-store-admin, recieve-as, send-as -identity "mydom\administrator"
or, alternately,
[PS] c:>add-adpermission -user "mydom\XManager" -accessrights ExtendedRight -extendedrights ms-Exch-Store-Admin, Receive-As, Send-As -identity "mydom\administrator"
but in both cases the commands never complete. They never produce errors either, they just hang. Ctrl-c will terminate them but it takes an age.
Anyone know a way of diagnosing this?