Solved

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

Posted on 2009-05-12
6
450 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

617 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