Exchange 2019 Troubleshooting: Get-MailboxDatabaseCopyStatus commands missing.

ISsue: check the Database availability group (DAG), but when you try to run the command, it wouldn't pipe to complete it and you see  this error:

https://www.collaborationpro.com/wp-content/uploads/2019/09/image-6.png

In the Exchange Management Shell, I then ran the command below to see what command I could actually run:

  • Get-command "Get-mail*"

https://www.collaborationpro.com/wp-content/uploads/2019/09/image-7.png

Notice that the command Get-MailboxDatabaseCopyStatus is missing along with the others.

I then launched Active Directory Users and computers and Navigated to the Exchange Security Groups and checked the Organization Management Group, my account was listed. Nothing changed so not sure why it was doing this.

https://www.collaborationpro.com/wp-content/uploads/2019/09/image-8.png

Checked the event logs, no errors. Removed my account from the Group above and waited for Active Directory to Sync and then added it back. Still no luck.

Next step was to install Windows Updates on Server 2019. There was a new CU and a security update for .NET framework. I know this would not fix anything but just to make sure, after the update, the commands were still missing.

Installed Exchange 2019 CU3, no change.

Removed cached information from APP data, no change.

Launched the Exchange Management Shell as another user and the command works without error:

https://i2.wp.com/www.collaborationpro.com/wp-content/uploads/2019/09/image-15.png?fit=1024%2C420&ssl=1

It seems like something went south with my account. I reset the password of the account and no luck still.

What is weird though, when the Exchange Management Shell (EMS) loads, you don't get the blue bar on the top with all the modules loading.

From within the Exchange Management Shell (EMS), I ran the command below:

  • Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;

https://www.collaborationpro.com/wp-content/uploads/2019/09/image-16.png

If I then run the command it works but only in this session.

Looks like you need to re-create your account.