Exchange Powershell Exchange and Powershell Helps, Tips, and Tricks

Posts Tagged ‘Role: Mailbox’

Exchange – Cannot remove ACE on object … because it is not present.

06.03.2010 · Posted in Exchange, PowerShell V2

I have run into a problem while doing some routine maintenance on some shared mailboxes for the company I work for. During the maintenance process, we audit the list of users that have full mailbox rights to any shared mailbox. In the process, I was trying to remove full permissions from several user accounts. Here ...

Delete all messages after date from mailbox

11.24.2009 · Posted in Exchange, Powershell

I was asked to delete everything from a mailbox called familydomains that was older than 2009. Here is the Exchange Powershell command that I used to delete everything earlier than 12/31/2008 to a PST file located in my C:\temp directory. export-mailbox familydomains -PSTFolderPath C:\temp\ -DeleteContent -endDate 12/31/2008 The advantage to doing it this way is ...