
Exchange 2019 PowerShell

Exchange 2019 – Enable Circular logging on a Database
In Exchange, whether it is 2013 or higher, you may look at enabling Circular logging on your databases. While this will constantly flush the logs, you cannot run Circular logging and have backups running as they will be inconsistent all the time. To firstly check if...

Exchange 2019 – Remove Ambiguous Address from Transport Queue with PowerShell
In Exchange, you might come across mail stuck in your queue that only show <> and nothing else. This is most likely your journal mail but for some reason it is stuck and does not want to clear from the Transport Queue, you can run the following command to remove...

PowerShell – Setting all offline disks online with single command
In Exchange, if you have created a large number of disks to cater for your DAG or multiple DAG's, setting them online one by one can be a very time consuming job. With PowerShell you can set all the offline disks online and then create your mount points but we will...

Exchange 2019 – Grant user access to Export Mailboxes
In Exchange, not only Exchange 2019 but earlier versions as well, an Organization Admin does not have the ability to export mailboxes as no rights are granted by default. If you try and run the command below, it will give you an error that it is not recognized,...

Exchange 2019 – Check the Admin Display Version with PowerShell
In Exchange, you may be running multiple versions like Exchange 2016 and 2019 or 2013 and 2016 and you need to get information about your build of Exchange, you can do so with a one liner command in the Exchange Management Shell that will give it to you:...

Exchange 2019 – Move mailbox database with the built-in scripts
In Exchange 2019, like Exchange 2010/2013 and 2016, you can move your active mailbox databases to another server using the scripts that come with your Exchange Installation. They are located in the V14\Scripts or V15\Scripts folder depending on your version you have...

Exchange 2019 – Granting rights to another users calendar with PowerShell
In Exchange you will get the requests now and again to grants rights to users calendar, based on the situation it can be a PA to a Director or a colleague needing access to another ones calendar. To grant the rights, you can run the following command:...

Exchange 2019 – Create a new mailbox with PowerShell
Here is a quick tip on creating a mailbox with PowerShell in Exchange 2019, it is a simple command that will prompt you for the password and once done you will have a new user. There are more options you can set with the command but we will just create a simple user...

Exchange 2019 – Export SSL Certificate to .PFX using PowerShell
In Exchange 2019 like other versions you can export your SSL certificate to import to another server, we first need to get the thumbprint of the SSL certificate that we want to export, to do this you can run the following command: Get-ExchangeCertificate In this...

Exchange 2019 – Create a CSR with PowerShell and Import Certificate
In Exchange 2019, you can generate a new CSR and then import the signed certificate from your registrar like Digicert or RapidSSL or Godaddy etc. To generate a CSR in Exchange 2019, you can run the following command from the Exchange Management Shell (EMS): $cert =...