Advertisements

Author: Edward van Biljon

When you configure your POP/IMAP Service on Exchange 2019, manually going to services and changing the startup from Manual to Automatic just takes time. With PowerShell, you could add this to a script so when you license your server and enable your SSL certificate, why not just update the services? To change POP, you can […]

Advertisements
Read more

Quick PowerShell Script!! If you have a temp directory that has many items in, selecting all from Explorer and then deleting them takes longer than using a simple PowerShell command: Here is the command you can run: Get-ChildItem -Path “C:\Windows\Temp” *.* -Recurse | Remove-Item -Force -Recurse If there are files in use, you will get […]

Read more

Here is a quick tip on how you can open the Exchange Management Shell (EMS) on Windows Server 2019 Core. In your Elevated command prompt, type in PowerShell and Press Enter. Next, type in the following command and then press enter: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn Your window should look similar to this: Okay but it still shows […]

Read more

Mailbox migrations in an Organization are part of many Exchange Admins duties, this can be to a newer version of Exchange or simply migrating off a large database to smaller ones. If you are looking after a big organization and need to monitor migrations, PowerShell is not always easy for new Admins to navigate. I […]

Read more

Here is a quick tip, if you need to view your Outlook Provider Settings in Exchange 2016 or other versions, you can run a simple command as shown below to find the value: Get-OutlookProvider The value will show after msstd:, it can be for example mail.domain.com or whatever you have defined in your environment. Why […]

Read more

If you manage quite a few Exchange 2010 CAS servers, logging into each one to test that OWA works can be quite cumbersome. I put together a script that can check all of them and email you a report. Here is an example: The URL for each CAS server will show, for example cas01.tlab.local and […]

Read more

In Exchange 2016, there are a couple of cmdlets you can run to check that you servers are in a healthy state. In 1x example, you could run the following command to check the Outlook Web Services: Test-OutlookWebServices If you want to specify a specific server then you can run the command below: Test-OutlookWebServices -ClientAccessServer […]

Read more

In one of my previous posts we installed PowerShell 7 on Windows 10. In my lab I installed PowerShell 7 on my Exchange 2016 Server. While there is no support for Exchange yet, Active Directory cmdlets work. To install the preview you can run the command below from an elevated PowerShell Window: iex “& { […]

Read more

I was playing around with PowerShell 6 and 7 RC which a colleague showed me was available. Firstly to get the new version, you need to run the following command below: (Note it includes the -Preview switch) iex “& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI -Preview” It does take a few minutes to bring up the […]

Read more