Advertisements
Everything-PowerShell

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

Advertisements
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

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 what the URL is set to by running […]

Read more

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 information than the other, to change the edition, you can license the server […]

Read more

Part of any Operating System that you install, whether it is Server 2012 or Server 2019, Server Manager launches on startup. A quick command below will create a registry key and disable it so it doesn’t start on windows boot. Here is the command: Invoke-Command -ComputerName Exchange-2019 -ScriptBlock { New-ItemProperty -Path HKCU:\Software\Microsoft\ServerManager -Name DoNotOpenServerManagerAtLogon -PropertyType […]

Read more