Saturday, March 8, 2014

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

 

1 comment:

  1. Thank you so much...you were a life saver today!!!

    ReplyDelete