“Header file length is zero” when exporting a mailbox

Dec. 10, 2015 by

For years, I’ve been importing and exporting mailboxes with relatively no problems, when I started getting this error when exporting a number of mailboxes: [PS] C:\Windows\system32>New-MailboxExportReqeust john.doe -FilePath \\server\share\john.doe.pst Unable

Remove Broken ActiveSync Device Partnerships

Oct. 26, 2015 by

A user has hit his maximum mobile device count on your Exchange server, but when you try to remove an unused device that hasn’t synced in over a year, you

Clean Deleted Users from Shared Mailbox Folder Permissions

Oct. 20, 2015 by

I don’t know about you, but it really bugs me to see dead accounts in the ACLs of mailbox folders. I wrote this PowerShell script to clean them up whenever

Troubleshooting a Recurring Account Lockout

Aug. 25, 2015 by

If you haven’t had to deal with a mysterious, recurring account lockout, then you haven’t been on the job very long. Almost all Active Directory installations include a Group Policy

Running Exchange 2010 PowerShell Scripts Using Task Scheduler

Aug. 10, 2015 by

I have a number of complex PowerShell scripts for performing employee onboarding/offboarding, mailbox export request cleanup, and other tasks. Scripts that use the standard cmdlet set, the Active Directory module,

Use PowerShell to manage FullAccess permissions on mailboxes

Jul. 22, 2015 by

Every now and then you’ll have a user who has FullAccess to umpteen mailboxes for whatever reason. Cross-forest mailbox migrations, for example. Over time you might lose track of what

Clean out old mailbox export requests

Jul. 20, 2015 by

Since Exchange 2010 doesn’t automatically remove old mailbox export requests, periodically you need to clear them out manually. This short little script cleans out all mailbox export requests that were