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: $Array = @() $Mailboxes | Foreach {$Array += $_.UserPrincipalName} Now if you check your @Array, […]

Read More Here! 0

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 subject line whether they contain anything of import. Unfortunately, Exchange Online/Office 365 thinks this means […]

Read More Here! 0

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 ( 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: #550 5.6.0 M2MCVT.StorageError; storage error in content conversion ## You probably have Outlook configured in “online” mode. In other words, you don’t have caching turned on. The real problem is that the server is […]

Read More Here! 0

“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) [New-MailboxExportRequest], RemotePermanentException + FullyQualifiedErrorId : 10035AB2,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest The export request statistics contained… FailureCode : -2146233088 FailureType […]

Read More Here! 0

Recommended Reading…

Office 365 for Exchange Professionals