CmdID / PowerShell / Cmdlets / Stop
Stop-DatabaseAvailabilityGroup
Use the Stop-DatabaseAvailabilityGroup cmdlet to mark a member of a database availability group (DAG) as failed, or to mark all DAG members in a specific Active Directory site as failed. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the name of the DAG being stopped.-ActiveDirectorySiteThe ActiveDirectorySite parameter specifies the Active Directory site containing the DAG members to stop (for example, stop all DAG members in a particular Active Directory site).-MailboxServerThe MailboxServer parameter specifies a single DAG member to stop.-ConfigurationOnlyThe ConfigurationOnly switch updates the Active Directory properties with the stop action, but doesn't perform a stop of the DAG or any members.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.