excange cu 7 update cmd

Download Excange CU 7 Update CMD

If you can't read please download the document

Upload: muneeb-hassan

Post on 15-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

======================================Preparing Domain for Exchange======================================setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTermssetup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms========================================================================================Taking Server in Maintenance Mode with DAG========================================================================================Set-ServerComponentState yyzmailbx1 Component HubTransport State Draining Requester MaintenanceRedirect-Message -Server yyzmailbx1 -Target yyzmailbx2.sunwing.localSuspend-ClusterNode Name yyzmailbx1Set-MailboxServer yyzmailbx1 DatabaseCopyActivationDisabledAndMoveNow $trueCheck If the autoActivationPolicy is Disabled:Get-MailboxServer yyzmailbx1 | Select DatabaseCopyAutoActivationPolicyIF Not Run the Following:Set-MailboxServer yyzmailbx1 DatabaseCopyAutoActivationPolicy Blocked===========================================================================================Taking out Server from Maintenance mode for DAG Memeber===========================================================================================Set-ServerComponentState yyzmailbx1 Component ServerWideOffline State Active Requester MaintenanceResume-ClusterNode Name yyzmailbx1Set-MailboxServer yyzmailbx1 DatabaseCopyAutoActivationPolicy UnrestrictedSet-MailboxServer yyzmailbx1 DatabaseCopyActivationDisabledAndMoveNow $falseSet-ServerComponentState yyzmailbx1 Component HubTransport State Active Requester Maintenance