Solved

Powershell exchange 2010

Posted on 2015-02-10
3
59 Views
Last Modified: 2015-02-10
Whats the best way to remove full access using powershell for a group that has full access on each mailbox in an entire OU.
0
Comment
Question by:techdrive
[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
3 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40601124
Use the following command below...
$Mailboxes = Get-Mailbox -ResultSize "unlimited" -OrganizationalUnit "ou=ouname,dc=domain,dc=com"
foreach ($Mailbox in $Mailboxes) {
Remove-MailboxPermission -Identity $Mailbox -User <GroupName> -AccessRights FullAccess -InheritanceType All
}

Open in new window


Will.
0
 

Author Comment

by:techdrive
ID: 40601183
thanks
0
 

Author Closing Comment

by:techdrive
ID: 40601184
.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
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…

729 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