Solved

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

Posted on 2009-05-12
6
441 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
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.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a mailbox database 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 Servers >> Data‚Ķ
To show how to generate a certificate request 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 Servers >> Certificates‚Ķ

895 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

15 Experts available now in Live!

Get 1:1 Help Now