Solved

Exchange 2007 How can I assign Full Access Permissions to an OU

Posted on 2009-05-12
6
438 Views
Last Modified: 2012-05-06
I have a large number of Exchange accounts I'd like to export to .PSTs and delete. Is there a command in Exchange Management Shell to assign full access permissions to all mailboxes in a OU, instead of mailbox name per mailbox name? This would save me a lot of time.

0
Comment
Question by:adamant40
  • 2
  • 2
  • 2
6 Comments
 
LVL 32

Accepted Solution

by:
gupnit earned 500 total points
ID: 24367785
Hi,
I have not tried this in my lab, ubt it should work, if I am not wrong
ForEach ($mbx in Get-Mailbox -OrganizationalUnit YOUR-OU) { Add-MailboxPermission -Identity $mbx -User YOURADMINUSER -AccessRights FullAccess}
Let me know
Thanks
Nitin Gupta (gupnit)
0
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24368462
Get-mailbox -organizationalunit ouname | add-mailboxpermission -identity username -accessrights fullaccess.
0
 

Author Comment

by:adamant40
ID: 24368700
Rajith,
When I tried running your entry, I got the error below.
Add-MailboxPermission : The input object cannot be bound to any parameters for
the command either because the command does not take pipeline input or the inpu
t and its properties do not match any of the parameters that take pipeline inpu
t.
At line:1 char:61
+ Get-mailbox -organizationalunit Test | add-mailboxpermission  <<<< -identity
user -accessrights fullaccess
Add-MailboxPermission : The input object cannot be bound to any parameters for
the command either because the command does not take pipeline input or the inpu
t and its properties do not match any of the parameters that take pipeline inpu
t.
At line:1 char:61
+ Get-mailbox -organizationalunit Test | add-mailboxpermission  <<<< -identity
user -accessrights fullaccess
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24368870
I don't have a server in front.
Try add-adpermission.
0
 

Author Closing Comment

by:adamant40
ID: 31580612
Thank you. This worked perfectly and saved me a lot of time. I hope you answer my next question also.  ;-)
0
 
LVL 32

Expert Comment

by:gupnit
ID: 24371368
Glad to help :-)
Thanks
Nitin Gupta (gupnit)
0

Featured Post

The curse of the end user strikes again      

You’ve updated all your end user’s email signatures. Hooray! But guess what? They’re playing around with the HTML, adding stupid taglines and ruining the imagery. Find out how you can save your signatures from end users today.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now