Solved

Powershell exchange 2010

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Synchronize a new Active Directory domain with an existing Office 365 tenant
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this video we show how to create a Distribution Group 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 Recipients >>…
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…

762 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

18 Experts available now in Live!

Get 1:1 Help Now