Solved

Powershell exchange 2010

Posted on 2015-02-10
3
58 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

696 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