Solved

Removing Mailbox Access using Exchange PowerShell

Posted on 2011-03-09
2
865 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

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Couldn't set the System Attendant for database Error 5 39
Mail Flow in EXCHANGE 2010 2 54
Exchange 2016 and Exchange 2010 Co-Existence 6 44
Fraud Email 22 74
Find out what you should include to make the best professional email signature for your organization.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

735 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