
Exchange 2016 PowerShell

Exchange 2013/2016/2019:- Increase calendar booking window from 180 to a higher value.
In Exchange, you may notice that when you try and book a meeting room, you cannot go higher than 180 days. This is by default. To change this, you can run a simple PowerShell command and increase the value, take note you cannot go higher than 1080 days. The command to...

Exchange 2016:- Event ID 2004 – MSExchange Management Application
In Exchange 2016 or even Exchange 2019, when you run cmdlets like Get-TransportServer you will receive a nice yellow warning to use the newer cmdlets. So Get-TransportServer has changed to Get-TransportService. If you head over to the event logs, the application log,...

Exchange 2016 PowerShell:- Restore Recoverable Items with a simple command.
If you have backups in Exchange, you know that you can go to the backup and recover items, either by creating a recoverable mailbox database or performing item level restore to a mailbox or PST file. In Exchange 2016, can also be Exchange 2019 or Exchange 2013, you...

Exchange 2016/2019:- Check your move requests with a form that uses PowerShell
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...

Exchange 2016:- View the status of a database seeding.
Here is a quick PowerShell tip for viewing the status of database seeding. Sometimes you might have a seed running from a PowerShell window and then when you check the green progress bar is no longer visible as you might have had a refresh on domain controllers or you...

Exchange 2016:- Check your Outlook Web Services with a simple command in PowerShell.
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...

Exchange 2019:- Remove alias from Distribution Group with PowerShell
Quick tip for the day. Ever wanted to remove an alias from a Distribution Group and wondered how to do this with the Exchange Management Shell (EMS). It is pretty simple, you run the following command below: Set-distributiongroup GroupEmailAddress –EmailAddresses...

Exchange 2019:- Change timeout value of OWA
In the world we live in today, information is vital and having your email open for everyone to view is also not such a good thing. In Exchange you have the option to set a timeout value so that if you are in-active for a certain period then the OWA page will log you...

Exchange 2019:- Reset RBAC to default
I have a strange problem in my lab where my main account is part of the org admin group however I cannot run half the commands, I thought I would reset everything with the commands below but have not seen any change. Still cannot do much. However in my Exchange 2016...