Advertisements

Month: Dec 2018

In Exchange, whether it is 2013,2016 or 2019, you have a list of Transport Agents. To view them you can run the following command: Get-TransportAgent In the scripts folder with the Exchange installation directory you can install the Anti-Spam Agents Transport Agent using the PS1 script, to do so you need to navigate the scripts […]

Advertisements
Read more

Moving mailboxes is a daily task for Exchange Admins. The process is the same as Exchange 2013 or 2016. To move a single user mailbox you can use the following command: New-MoveRequest -Identity edwardvbs -TargetDatabase Store1 To check the status of the mailbox move you can run the following command: Get-MoveRequest | Get-MoveRequestStatistics As you […]

Read more

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 create a database and log directory […]

Read more

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 easy, to firstly check if the Admin […]

Read more

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 the mailbox you can run the following command: Get-Mailbox As we […]

Read more

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 you but in my Lab I only […]

Read more

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 the following […]

Read more

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: EWS OAB OWA ActiveSync PowerShell ECP Here are the list of PowerShell commands that were run to update my lab environment(includes Autodiscover): • Set-ClientAccessService -Identity Exchange-2019 -AutodiscoverServiceInternalUri https://mail.thexchangelab.com/autodiscover/autodiscover.xml • […]

Read more

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 POP/IMAP to use the SSL certificate as well. Launch the Exchange […]

Read more

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. Here is a quick […]

Read more