Commands › Exchange Online
Suspend-Queue
Stop processing for a queue on a Mailbox server or an Edge Transport server.
Quick start script
# Suspend-Queue — 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-Queue -Identity <QueueIdentity> -Filter <String> | Format-List
# 3. Export for evidence / drift tracking
Suspend-Queue | Export-Clixml .\Queue-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Filter
Suspend-Queue -Filter <String>
[-Server <ServerIdParameter>]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Identity
Suspend-Queue [-Identity] <QueueIdentity>
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.