How to Understand an Exchange Non Delivery Report (NDR)

What is a Non-Delivery Report (NDR)? If you take a look at the NDR below, you can see a sample nondelivery report.  This nondelivery report contains all of the usual information such as the date and time that the message was sent, and the intended recipient.  If you take a look at the last line of the nondelivery report though, […]

Read more

Recovering Deleted Email with New Exchange Online Cmdlets

Exchange Makes It Easy for Users to Fix Deletion Mistakes Exchange has used a two-step item deletion process for nearly 20 years. When someone deletes an item from a mailbox, it moves into the Deleted Items folder. Later, when the user empties the Deleted Items folder, or the Managed Folder Assistant empties the folder under the instruction of a retention […]

Read more

Enable IMAP on all Exchange 2013/2016 Servers

IMAP and POP3 are disabled on Exchange Server 2013 and 2016 servers by default. Chances are if you need to enable it, you’ll need to enable it on all your servers at once. Fortunately, PowerShell makes this easy! Run Exchange Management Shell as administrator on an Exchange server and execute the following: PowerShell Script to enable IMAP on all servers […]

Read more

Enable Litigation Hold for all Mailboxes in Office 365

There’s no built-in feature at this time to enable litigation hold for all mailboxes in Exchange Online, but some organisations have this as a requirement. Here’s a script that can be run ad-hoc to enable litigation hold for all mailboxes. When prompted, enter your Exchange Online credentials.   # Connect to Exchange Online $exo = New-PSSession -ConfigurationName Microsoft.Exchange ` -ConnectionUri https://ps.outlook.com/powershell-liveid […]

Read more

How To Export \ Import Single Mailbox Folder To PST File Exchange Server 2010 / 2013 /2016

This article will show you how to export a single folder from an entire mailbox to a PST file on Exchange Server 2010, 2013 and 2016. To start the process open EMS and type the command below (change mailbox and source folder path). New-MailboxExportRequest -mailbox adminu -SourceRootFolder “Inbox/folder” -filepath \\exchange\C$\Source\adminu.pst   Example: ( New-MailboxExportRequest -mailbox “Matt Heitman” –FilePath \\ltivw-p-mbx03\pst$\mheitman2.pst )    You can import it to another mailbox […]

Read more

PowerShell Code: Get Mailboxes with Size Greater Than X

Today, I’ll show you another classic PowerShell Code for Exchange Server that will let you search for users with a mailbox size of X and above. I came across the need to do this when I had to rebalance mailboxes on Exchange Server and wanted to know which users have mailboxes over 5GB. The code below. Will show you all […]

Read more

Exchange Powershell – Find Mailbox size of users in a Distribution List

Say that I have a Distribution List called “Finance Team“. At first I will have to find out the members of the Distribution List so then I can individually find their mailbox sizes. $GroupName = Read-Host “Kindly provide the name of the Distribution Group” Get-DistributionGroupMember $GroupName | Select Name | Export-Csv c:\Members.csv -NoTypeInformation Let us see what did we do […]

Read more

Microsoft Exchange 2013: OWA Signature Error

In Microsoft Exchange, you may have received these error messages: “The signature is too big. Please try a smaller format.” “The Property X is out of range, the valid range is x to x.” “The length of the property is too long. The maximum length is 8000 and the length of the value provided is 16814.” I recently encountered these errors with the […]

Read more

Remove All Emails from a specific sender

1.  Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection Import-PSSession $s Type in your ada credentials with username of <username>@domain.com Type in your domain admin credentials with username of domain\<username>   Run this command in Powershell     Search-Mailbox -identity […]

Read more

O365 to Exchange on-prem migration error

When you attempt to migrate an O365 user back to Exchange 2010 on-prem you may receive this error:   “You shouldn’t migrate mailbox ‘Paul Demmer’ to Exchange 2010 or an earlier version while the user’s Instant Messaging contact list is stored in Exchange. If you do, the user could permanently lose access to their Instant Messaging contact list, which will cause […]

Read more
1 2 3 4 5