Solved

Removing Mailbox Access using Exchange PowerShell

Posted on 2011-03-09
2
876 Views
Last Modified: 2012-06-21
How do I modify this script to remove my access after I'm done with the list of mailboxes:

Import-CSV "mailboxsizes\test1.csv" | ForEach{Add-MailboxPermission –ID $_.name –AccessRights FullAccess –User vhaperbaugub}
0
Comment
Question by:vhaperbaugub
[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 Comments
 
LVL 6

Accepted Solution

by:
J P earned 500 total points
ID: 35092608
should be able to replace what is within the squiggle bracket..

Import-CSV "mailboxsizes\test1.csv" | ForEach{Remove-MailboxPermission -ID $_.name -User vhaperbaugub -AccessRights FullAccess -InheritanceType All}

Open in new window


reference: http://technet.microsoft.com/en-us/library/bb125153.aspx
0
 

Author Comment

by:vhaperbaugub
ID: 35094260
Thanks....That worked.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create an email address policy 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…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

707 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