Exchange: Hide All Contacts From Global Address List
May30

Exchange: Hide All Contacts From Global Address List

KB ID 0001564 Problem I saw this on EE this evening, so I thought I’d work it out, what if your Global Address List is full of external ‘contacts’, and you want to remove/hide them? Solution First take a look at them, to see you’re not about to cause any damage! Get-MailContact | Where-Object {$_.HiddenFromAddressListsEnabled -eq $false} If you are happy, to remove/hide them from the GAL, simply do the...

Read More
Exchange: Can’t Delete a Database
Mar21

Exchange: Can’t Delete a Database

KB ID 0001414 Problem Every iteration of Exchange comes up with some new system/hidden mailbox type that stops me deleting mailbox databases! This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, public folder mailboxes or arbitration mailboxes, Audit mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox...

Read More
Exchange – Failed to mount database(hr=0x80040115, ec=-2147221227)
Nov17

Exchange – Failed to mount database(hr=0x80040115, ec=-2147221227)

KB ID 0000664  Problem The Exchange server on my test network stopped working, the mailbox database was not mounted. When I attempted to mount it: ——————————————————– Microsoft Exchange Error...

Read More
Exchange and the LegacyExchangeDN Problem
Sep07

Exchange and the LegacyExchangeDN Problem

KB ID 0001468 Problem Why do we have the Exchange LegacyDN? It’s a throwback, from a time when we had our users, and our mail users in different databases. Below you can see the ExchangeLegacyDN for this Exchange on-premises user; /O=First Organisation/OU=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn={something-user-specific} Who cares? Well they are still important, if you send an internal email (to someone...

Read More
Forward Mail From Exchange (On-Prem) To Office 365
Sep06

Forward Mail From Exchange (On-Prem) To Office 365

KB ID 0001467 Problem WARNING: Do not do this, if you are carrying out a Hybrid migration to Office 365! I’ve been doing an On-Prem to Office 365 migration recently. It was a little unusual because the ‘on-prem’ Exchange was not in the clients domain. So rather than migrate all the mail to their domain, and them migrate it to Office 365  we chose to use a third party migration solution ODME (Quest On Demand Migration...

Read More
Exchange 2019 / 2016 Manage Remotely via PowerShell
Aug30

Exchange 2019 / 2016 Manage Remotely via PowerShell

KB ID 0001465 Problem Since Exchange 2013 we have been able to manage Exchange remotely through the Exchange Admin Center, but what if you want to use the Exchange Management Shell remotely? Install Exchange Management Tools This is not just the Management Shell, this will also install the Toolbox and additional help. There are few prerequisites, but to install from a normal PowerShell prompt; Enable-WindowsOptionalFeature -Online...

Read More