Exchange 2010–2016: Site Switchover and Site Switchback with DAC

Stop-DatabaseAvailabilityGroup –Identity DAG –ActiveDirectorySite LGA –ConfigurationOnly:$TRUE
Get-DatabaseAvailabilityGroup | FL Name, StoppedMailboxServers, StartedMailboxServers
Restore-DatabaseAvailabilityGroup DAG01 –ActiveDirectorySite EWR
Import-Module FailoverClusteringGet-ClusterGroup –Cluster DAG01
Get-ClientAccessServer EWR-EXCH01 | Select AutoDiscoverInternalURI
Set-ClientAccessServer EWR-EXCH01 –AutoDiscoverInternalUri https://<value>.exchangelaboratory.com/autodiscover/autodiscover.xml
Start-DatabaseAvailabilityGroup DAG –ActiveDirectorySite LGA

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store