Sunday, 17 April 2016

Remove DAG database - powershell

Remove-MailboxDataBaseCopy -Identity "Mailbox Database 0577530383\MB04" -Confirm:$True
Remove-DatabaseAvailabilityGroupServer -MailboxServer MB03 -Identity dag15
Remove-DatabaseAvailabilityGroup -Identity dag15

*Mailbox Database 0577530383 = name of database
*MB04, MB03 = location of server 
*DAG15 = name of dag

No comments:

Post a Comment