Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

Problem with script Test-ExchangeServerHealth

$
0
0

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


Viewing all articles
Browse latest Browse all 8719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>