Have been using Paul Cunningham's most excellent Test-ExchangeServerHealth script. It has been running flawlessly on Exchange 2010 for sometime. I moved it to 2013 and immediately encountered errors. The error occurs down in the DAG test routine. The error I get:
Get-DatabaseAvailabilityGroup : Could not load file or assembly 'Microsoft.Exchange.Data, Version=14.0.0.0, Culture=neutral,PublicKeyToken=xxxxxxxxx' or one of its dependencies. The system cannot find the file specified. At C:\Scripts\TestExchangeServerHealth\Test-ExchangeServerHealth.ps1:1159
char:15
+ $tmpdags = @(Get-DatabaseAvailabilityGroup -Status)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-DatabaseAvailabilityGroup], FileNotFoundException
+ FullyQualifiedErrorId : [Server=CAS2,RequestId=xxxxx,TimeStamp=4/30/2014 1:04:38 PM] [FailureCategory=Cmdlet-FileNotFoundException] CB830B58, Microsoft.Exchange.Management.SystemConfigurationTasks.GetDatabaseAvailabilityGroup
Hoping this is an easy fix. Also making sure SP1 is supported with the script?
Skip
Skippy