How to quickly verify if Autodiscover is working

Autodiscover is an Exchange service which, after successful configuration, helps admins and users save tons of time. Thanks to Autodiscover, Outlook clients are automatically configured, after as little as entering user’s e-mail address and password upon first login. Its job does not end there, it is required to ensure Outlook-Exchange connectivity later on. Therefore, it is crucial to diagnose problems with the service as quickly as they occur. In this guide I will show 2 quick and easy ways to do that.

Using Powershell

Checking Autodiscover connection for a user is as simple as using a single cmdlet:Test-OutlookWebServices for the user you want to diagnose, i.e.

Test-OutlookWebServices -identity: –MailboxCredential (Get-Credential)
Continue reading ‘How to quickly verify if Autodiscover is working’

How to delete email from mailboxes on Exchange 2016 / 2013 / 2010 / Online

Applies to: Exchange 2016, Exchange 2013, Exchange 2010, Exchange Online

In this article I am going to show you how to use the Search-Mailbox PowerShell cmdlet together with the -DeleteContent switch to delete email (and other item types) from multiple mailboxes on Microsoft Exchange 2016, 2013 and 2010.

PowerShell: using the Search-Mailbox command to delete items

I will also talk about using the -SearchQuery parameter to manage items scopes and target specific content.

Continue reading ‘How to delete email from mailboxes on Exchange 2016 / 2013 / 2010 / Online’

Search-Mailbox (Exchange 2013, 2016, Online): Attributes

Applies to: Exchange 2016, Exchange 2013, Exchange Online. Some information may also apply to Exchange 2010.

The -SearchQuery parameter available in the Search-Mailbox command allows you to filter items stored in Exchange mailboxes using a set of item attributes and properties.

Microsoft doesn’t offer documentation regarding attributes that can be used with the -SearchQuery parameter, so I decided to create my own list.

Continue reading ‘Search-Mailbox (Exchange 2013, 2016, Online): Attributes’

Email disclaimers on Microsoft Exchange Server’s side

(First published Jan 16, 2014)

Server sided email disclaimers belong to one of the most desired features among server administrators. Although the need for this functionality has been consistently increasing throughout the past years, Microsoft still hasn’t disclosed a robust built-in Exchange Server mechanism that would fully satisfy the needs of IT professionals.

Let’s take a look at the list of things that all successive versions of Exchange Server can do natively in this matter, and compare it with vast capabilities of CodeTwo Exchange Rules Pro, a third party email management tool for Exchange 2007, 2010, 2013 and 2016.

Continue reading ‘Email disclaimers on Microsoft Exchange Server’s side’

How to recover deleted emails in Office 365?

Although mailbox data in Office 365 is fairly secure, it does not mean it is protected from deleting. Users, either by accident or on purpose, can remove their emails from Inbox and Deleted Items folder or even purge them from Recoverable Items folder. What’s more, retention policies can exist, which live only for deleting certain emails from users’ mailboxes. Of course, Office 365 gives you a plan B, just in case you would need to recover deleted emails. This plan, however, only works when the time gap between deletion and recovery is not too big.

Recover deleted emails in Office 365.

Continue reading ‘How to recover deleted emails in Office 365?’

How to save outgoing email attachments in SharePoint library?

CodeTwo Exchange Rules Pro is the ultimate powerhouse tool in the hands of an Exchange administrator. On a very general level it lets you create rules that redefine email flow and modify email content in your organization.

A common example of the program’s application is extended control over server-level email signatures. There are, however, numerous other ways it can be utilized. In this article I will talk about one of them: archiving attachments from outgoing email in SharePoint server libraries. A feature that can prove very useful when it comes to monitoring what your users send to external recipients.

My environment

For the purpose of this presentation, I have prepared the following server environment:

Domain controller:
Exchange Server 2013 CU13 (
SharePoint Server 2013 SP1 (

All servers operated by Windows Server 2012 R2

I deployed a domain controller running Exchange 2013 in the domain, so that I can simulate email going out into the Internet.

An email organization connected to the Internet

Continue reading ‘How to save outgoing email attachments in SharePoint library?’

Exchange 2013 components inactive

Installing a new Cumulative Update (CU) on the Exchange Server is always somehow stressful. If something goes wrong, you may be left with a corrupted/not working Exchange Server what means a financial loss to your company. To prevent this scenario from happening, make sure you always create an up-to-date backup copy before starting the CU installation process. If there are no obstacles, it is also worth trying to test the update of Exchange in a lab environment. This way you can measure and eliminate potential risk while performing the update in a production environment.

In this article, I will describe how changing Exchange 2013 components state may be helpful while implementing a new CU and how to set Inactive components Active when the installation of the Cumulative Update fails.

Continue reading ‘Exchange 2013 components inactive’

How to export a Hyper-V VM from Windows 10 to Windows Server 2012 R2?

When preparing a Hyper-V virtual machine, it is a good idea to create it and configure it on your own computer, and then implement it in the production environment. The usual scenario would be to export the virtual machine from the local host and move it to the server host. This scenario, however, may not work in all situations. Unluckily, along with the release of Windows 10, the export/import functionality has been restricted – in other words, it is no longer possible to perform export/import move of the virtual machine from Windows 10 to Windows Server 2012 R2. To see what happens when you try to import such virtual machines, go to the Import Virtual Machine wizard and locate the folder with your virtual machine:

Locate a folder containing the virtual machine and import it to the Import Virtual Machine wizard.

Continue reading ‘How to export a Hyper-V VM from Windows 10 to Windows Server 2012 R2?’

Free ebook: Exchange Server 2016 migration guide

In 2017 Exchange Server 2007 will reach the end of its life-cycle. This will inevitably prompt many companies to contemplate an upgrade to Exchange 2016 – by now a mature enough product to meet the highest security standards.

With these companies in mind, the CodeTwo Team has prepared a free guide detailing how to prepare and perform a smooth migration from Exchange 2007 or 2003 directly (no double-hop!) to Exchange 2016.

Makin a smooth migration to Exchange 2016

Continue reading ‘Free ebook: Exchange Server 2016 migration guide’

Conversational Office 365 Migrations by JP Bruzzese (2nd edition) – get it for free!

Everything you need to know about migrations to Office 365 provided in a fun and easy to read fashion…

Sounds too good to be true? Probably because you haven’t read Conversational Office 365 Migrations by J. Peter Bruzzese (Microsoft MVP) yet!

Conversational Office 365 Migrations 2nd Edition

Don’t panic – you can now download the updated PDF version for free from our website.

Continue reading ‘Conversational Office 365 Migrations by JP Bruzzese (2nd edition) – get it for free!’