Exchange 2016 – preparing Active Directory
As with previous versions of Exchange it is necessary to prepare Active Directory before installation. This can be done with a few simple steps using an elevated command prompt and a user account that is a member of the Enterprise Admins…
Office 365 – New-ExoPSSession error – The WinRM client cannot process the request. Basic authentication is currently disabled in the client configuration
While attempting to connect to Exchange Online using PowerShell the New-ExoPSSession cmdlet fails with the following error: New-ExoPSSession : Connecting to remote server outlook.office365.com failed with the following error message : The WinRM client cannot process the request. Basic authentication…
Exchange 2016 – installation fails because Server-Gui-Mgmt-Infra installed installed
While installing Exchange 2016 onto a Windows 2016 server the readiness check failed with the following message: Error: The Windows component Server-Gui-Mgmt-Infra isn’t installed on this computer and needs to be installed before Exchange Setup can begin. I clicked the…
Connect to Office 365 Exchange Online using PowerShell
Any Exchange admin will be used to administering their environment with PowerShell. Here is how to connect to your Office 365 Exchange Online environment with just a few commands: $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential…
Export Recoverable Deleted Items folder to a PST file
Today I had a user ask to restore some deleted messages from a mailbox. They were unable to see the messages anywhere in the mailbox, including the Deleted Items folder. To find out whether the messages were available to recover…
Export messages from a mailbox that were sent or received on or after a specific date
I have a requirement to export all messages from an Exchange mailbox that were sent or received after a specific date to a PST file. This was easy to achieve using the New-MailboxExportRequest cmdlet and specifying the dates within the…
Couldn’t find the Enterprise Organization container when using New-MailboxExportRequest
While using the New-MailboxExportRequest cmdlet in the Exchange Management Shell I encountered the following error: Couldn’t find the Enterprise Organization container This issue occurs if the user running the New-MailboxExportRequest command isn’t assigned the Mailbox Import Export role. There wasn’t…
Installing Exchange 2016 on a single server
Exchange 2016 has been out for some time now but I have only just got around to downloading the ISO and installing it for myself. Note: the following may need to be installed first: .Net Framework 4.7.1 (https://support.microsoft.com/kb/4033342) Microsoft Unified…
Importing a PST fails when using New-MailboxImportRequest
I have a requirement to import some PST files into different mailboxes in Exchange. This is easy to do using the New-MailboxImportRequest PowerShell cmdlet however when it fails it isn’t easy to see why. Fortunately, we can get more information…
Use PowerShell to determine the total size of disconnected mailboxes in a mailbox database
I have been performing some housekeeping tasks which include removing old user mailboxes. While doing this I was curious how much disk space I would be saving so I took a few minutes to leverage the Get-MailboxStatistics cmdlet and…