Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Powershell exchange 2010

Posted on 2015-02-10
3
Medium Priority
?
62 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
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
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…

916 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