Jay Carper

Migrating Distro Groups from Exchange to Office 365, part 3

In step 2 of part 1, I created online versions of all my on-premises distribution groups: 2. Create groups in Exchange Online. I used the list I created in step 1 to create corresponding groups in Exchange Online, appending ” OL” to the name of each group to avoid conflicts. This is easy enough to do using a formula in Excel to create the PowerShell […]

Read Me Leave comment

Migrating Distro Groups from Exchange to Office 365, part 2

In part one (see here) I mentioned a PowerShell script (Export_DistroGroup.ps1) that I wrote to export certain settings of distribution groups in preparation for migrating them to Office 365. 1. Gather data. I exported a list of all distribution groups and their properties to a csv file. Then I wrote a PowerShell script (Export_DistroGroup.ps1) to export key details to multiple csv files for each group, […]

Read Me Leave comment

Migrating Distribution Groups to Office 365, part 1

I am most of the way through a hybrid-mode migration from Exchange 2010 to Office 365. There are a few stages in a hybrid migration. During the process, your on-premises Active Directory database and Exchange directories are synced to the cloud so that mailboxes that have been migrated still appear in the on-premises directory for mailboxes that have not migrated and vice versa. Distribution groups […]

Read Me Leave comment

Convert a HashTable to an Array

Of course, this only works with a single column in the hashtable… Say you have a list of mailboxes in a hashtable, like this: $Mailboxes = Get-Mailboxes -OrganizationalUnit administration But for some reason (It doesn’t really matter why, does it? You just do.) you want a list of their User Principal Names in an array instead of the hashtable. You can do this like so: […]

Read Me Leave comment

Disable the Clutter Function in Office 365

Most systems administrators (and probably just about everyone else in an Information Technology role) receive a large number of status alerts from monitoring systems and automated processes. These alerts are very important for staying on top of trends and potential problems with your networks and servers. Even so, we delete most of these messages without reading opening them because we can usually tell by the […]

Read Me Leave comment

Message bounces with StorageError when attaching another email

If you attach one email to another, you might get this bounce message (aka “NDR” or Non-Deliverable Report): John Doe (john.doe@domain.com) The e-mail system had a problem processing this message. It won’t try to deliver this message again. Diagnostic information for administrators: Generating server: MAILSERVER.domain.com john.doe@domain.com #550 5.6.0 M2MCVT.StorageError; storage error in content conversion ## You probably have Outlook configured in “online” mode. In other […]

Read Me Leave comment

“Header file length is zero” when exporting a mailbox

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 to open PST file ‘\\server\share\john.doe.pst’. Error details: Header file length is zero. If this file is from a previously failed pst export, please delete the file and resume the export. + CategoryInfo : NotSpecified: (0:Int32) […]

Read Me Leave comment