Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
What happens if you use the -whatif parameter? – fenster Feb 4 '11 at 21:12

Sorry guys, never saw your responses.

The problem turned out to be, rather bizarrely, that I had a copy of EMC open in another session which had hung. All exchange powershell scripts just hung until I connected to that session and closed the emc - suddenly the hanging powershell scripts executed.


share|improve this answer

I'm assuming you are running this on your client machine using the Exchange 2010 powershell plugin?

You could try running this script on the Exchange 2011 console on the server itself, just to see what happens.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.