Solved

Removing Mailbox Access using Exchange PowerShell

Posted on 2011-03-09
2
832 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
2 Comments
 
LVL 6

Accepted Solution

by:
J P earned 500 total points
Comment Utility
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
Comment Utility
Thanks....That worked.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
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 >>…
In this video we show how to create an Address List 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 Organization >> Ad…

772 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

10 Experts available now in Live!

Get 1:1 Help Now