Commands › Exchange Online
Suspend-MailboxDatabaseCopy
Block replication and replay activities (log copying and replay) or activation for a database configured with two or more database copies.
Quick start script
# Suspend-MailboxDatabaseCopy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Suspend-MailboxDatabaseCopy -Identity <DatabaseCopyIdParameter> -EnableReplayLag <SwitchParameter> | Format-List
# 3. Export for evidence / drift tracking
Suspend-MailboxDatabaseCopy | Export-Clixml .\MailboxDatabaseCopy-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
EnableReplayLag
Suspend-MailboxDatabaseCopy [-Identity] <DatabaseCopyIdParameter>
[-EnableReplayLag]
[-Confirm]
[-DomainController <Fqdn>]
[-WhatIf]
[<CommonParameters>]
Identity
Suspend-MailboxDatabaseCopy [-Identity] <DatabaseCopyIdParameter>
[-ActivationOnly]
[-SuspendComment <String>]
[-Confirm]
[-DomainController <Fqdn>]
[-WhatIf]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.