We are using the StartDAGServerMaintenance.ps1 and StopDAGServerMaintenance.ps1 scripts on our mailbox cluster. Today I upgraded the first node to UR5 (and installed OS updates), and now the scripts do not work anymore:
At C:\program files\microsoft\Exchange Server\v14\Scripts\DagCommonLibrary.ps1:494 char:6+ return $moveSuccessful+ ~~~~~~~~~~~~~~~~~~~~~~ Control cannot leave a finally block. At C:\program files\microsoft\Exchange Server\v14\Scripts\DagCommonLibrary.ps1:926 char:5+ return $success+ ~~~~~~~~~~~~~~~ Control cannot leave a finally block.+ CategoryInfo : ParserError: (:) [], ParseException+ FullyQualifiedErrorId : ControlLeavingFinally Test-RsatClusteringInstalled : The term 'Test-RsatClusteringInstalled' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\program files\microsoft\Exchange Server\v14\Scripts\StartDagServerMaintenance.ps1:78 char:2 + Test-RsatClusteringInstalled+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : ObjectNotFound: (Test-RsatClusteringInstalled:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException log-verbose : The term 'log-verbose' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\program files\microsoft\Exchange Server\v14\Scripts\StartDagServerMaintenance.ps1:232 char:4 + log-verbose ($StartDagServerMaintenance_LocalizedStrings.res_0015 )+ ~~~~~~~~~~~+ CategoryInfo : ObjectNotFound: (log-verbose:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException log-verbose : The term 'log-verbose' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\program files\microsoft\Exchange Server\v14\Scripts\StartDagServerMaintenance.ps1:97 char:3 + log-verbose ($StartDagServerMaintenance_LocalizedStrings.res_0008 -f $shortSer ...+ ~~~~~~~~~~~+ CategoryInfo : ObjectNotFound: (log-verbose:String) [], CommandNotFoundException+ FullyQualifiedErrorId : CommandNotFoundException
Were there any changes in UR5 or in Windows? Is there any workaround?