Exchange 2019 PowerShell
Exchange 2019 – Create an Exchange database using PowerShell
In Exchange it is easy to create a database with the Exchange Admin Center but you can create it very easily with PowerShell. Most Exchange Admins use mount-points to store an Exchange database and logs as this is stored on a SAN and not on the Server itself. To...
Exchange 2019 – Disable Admin Access to the Exchange Admin Center (EAC) with PowerShell
Not only in Exchange 2019 but 2016 and 2013, you can remove access from the Exchange Admin Center so that Administrators cannot access it, some companies only allow PowerShell as they don't want the EAC exposed to the internet etc. None the less, to disable it is very...
Exchange 2019 – Enable mailbox with PowerShell
Quick tip for Enabling a Mailbox for a user already active in Active Directory. Launch the Exchange Management Shell (EMS) and run the following command: Enable-Mailbox -Identity UserName Once it runs you will see the info below the command as shown above, to check...
Exchange 2019 – Create a DAG using PowerShell
In Exchange, creating a DAG using the GUI is very easy, you fill in your DAG name, Witness Server and Witness Directory and optional to enter an IP address, let's look at how to do this using Powershell in Exchange 2019. Exchange should create the witness folder for...
Exchange 2019 – Check a mail-queue that is giving an error with PowerShell
In Exchange, you have the option to view your mail queues using the GUI interface and you can at a quick glance view the error of a specific domain or if something is wrong. With Powershell, you can do the same thing. To firstly get a list of all the queues you run...
Exchange 2019 – Change the URL’s with PowerShell
In one of my previous articles we looked at updating the autodiscover internal URL, today we will update the rest using PowerShell, this includes the following: EWSOABOWAActiveSyncPowerShellECP Here are the list of PowerShell commands that were run to update my lab...
Exchange 2019 – Assign Services to an SSL Certificate
In Exchange 2019, viewing and assigning an SSL certificate services is basically the same as Exchange 2013 and 2016. In this example we will use PowerShell to firstly view the certificates we have and then assign services to that SSL certificate along with setting...
Exchange 2019 – Create a send connector with PowerShell
In Exchange, whether it is Exchange 2019 or 2013 or 2016 or 2010, you need a send connector to be able to route email to the internet etc. You can create a send connector using the Exchange Admin Center (EAC) but what fun would that be when you can use PowerShell....
Exchange 2019 – Update the Autodiscover Internal URL
In Exchange 2019, to have clients connect without error from the outside, one of the URL's that need to be updated is the Autodiscover record. The update process is similar/the same as Exchange 2016 and can be done with a single PowerShell command. You can first check...
Exchange 2019 – Check edition with PowerShell
In Exchange 2019, like previous versions, you can check your edition of Exchange by running the following command: Get-ExchangeServer | fl or by adding another section to the script: Get-ExchangeServer | fl *Edition* You can see the one command gives you less...