Exchange 2010 PowerShell
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 2010:- Test Multiple CAS Server logins using PowerShell
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...
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:- 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...
Exchange 2016:- Check last backup using PowerShell
Here is a quick tip for checking the last backup on an Exchange database using the Exchange Management Shell (EMS): Get-MailboxDatabase -Status | FT name, Last* Simple enough and there you have the information. Hope it helps.
Exchange 2016:- Remove mailbox database fails.
Ever had it where you want to remove a database and it just doesn't work? Well this happened this morning. I got a weird error saying that the database is in a backup status? Well it wasn't but here is the error: This is a lab so no backups are running, to fix the...
Exchange 2019:- Resume mailbox database copy
When you do maintenance on an Exchange server, you would expect everything to be fine after a reboot? Correct? Well in some cases that does not happen. For example, one of my Database availability Groups (DAG) had the passive copy all in a Suspended state. How do you...
Exchange 2019:- Export Calendar to PST
Quick tip when exporting certain folders to a PST file in Exchange. Ensure that RBAC is setup for the Mailbox Import/export to work.Ensure your share is setup. Here is the command to export, just like a normal PST export but you including folders"...
Exchange 2010 and higher:- Fix a DAG’s ContentIndexState that failed
Quick tip: If you have a DAG with a ContentIndexState showing failed, you can fix it with a simple command in the Exchange Management Shell (EMS): Update-MailboxDatabaseCopy -Identity "DAGNAME\store" -CatalogOnly This will then start a re-seed and it should return to...