Exchange 2010 Power-shell script error: WARNING: An unexpected error has occurred and a Watson dump is being generated

Hi Readers,

One of our exchange 2010 power-shell script was having issues during execution

Below was the error:

WARNING: An unexpected error has occurred and a Watson dump is being generated

Capture

This was because in exchange 2010 shell has to connect to exchange servers remotely.

We have added below to our script & it worked fine after that.

. $env:ExchangeInstallPath\bin\RemoteExchange.ps1
Connect-ExchangeServer -auto

Hoping this will help others as well that are facing the similar issues.

Regards

Sukhija Vikas

 

Advertisement

One thought on “Exchange 2010 Power-shell script error: WARNING: An unexpected error has occurred and a Watson dump is being generated

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s