Commands › Exchange Online

Start-ManagedFolderAssistant

Exchange Online ExchangeOnlineManagement Start-*

Immediately start messaging records management (MRM) processing of mailboxes that you specify.

Quick start script

# Start-ManagedFolderAssistant — 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
Start-ManagedFolderAssistant -Identity <MailboxOrMailUserIdParameter> | Format-List

# 3. Export for evidence / drift tracking
Start-ManagedFolderAssistant | Export-Clixml .\ManagedFolderAssistant-$(Get-Date -Format yyyyMMdd).xml

Syntax — 8 parameter sets

Identity (Default)

Start-ManagedFolderAssistant [-Identity] <MailboxOrMailUserIdParameter> [-HoldCleanup]
 [-AggMailboxCleanup]
 [-Confirm]
 [-DomainController <Fqdn>]
 [-WhatIf]
 [<CommonParameters>]

ComplianceBoundaryAssistantParameterSet

Start-ManagedFolderAssistant [-Identity] <MailboxOrMailUserIdParameter> [-AdaptiveScope]
 [-AggMailboxCleanup]
 [-Confirm]
 [-FullCrawl]
 [-InactiveMailbox]
 [-WhatIf]
 [<CommonParameters>]

ComplianceJobAssistantParameterSet

Start-ManagedFolderAssistant [-Identity] <MailboxOrMailUserIdParameter> [-ComplianceJob]
 [-AggMailboxCleanup]
 [-Confirm]
 [-FullCrawl]
 [-InactiveMailbox]
 [-WhatIf]
 [<CommonParameters>]

DataGovernanceAssistantParameterSet

Start-ManagedFolderAssistant [-Identity] <MailboxOrMailUserIdParameter> [-DataGovernance]
 [-AggMailboxCleanup]
 [-Confirm]
 [-FullCrawl]
 [-InactiveMailbox]
 [-WhatIf]
 [<CommonParameters>]

4 more parameter sets — see the parameter table below.

Parameters (14)

ParameterTypeRequiredWhat it controls
-Identity MailboxOrMailUserIdParameter yes The Identity parameter specifies the mailbox to be processed. In cross-premises deployments, you can also specify a mail user who has a mailbox in the cloud. You can use any value that uniquely identifies the mailbox...
-AdaptiveScope SwitchParameter This parameter is available only in the cloud-based service.
-AggMailboxCleanup SwitchParameter The AggMailboxCleanup switch specifies aggregate mailbox cleanup. You don't need to specify a value with this switch.
-B2DumpsterArchiver SwitchParameter This parameter is available only in the cloud-based service.
-B2IPMArchiver SwitchParameter This parameter is available only in the cloud-based service.
-ComplianceJob SwitchParameter This parameter is available only in the cloud-based service.
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-DataGovernance SwitchParameter This parameter is available only in the cloud-based service.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-FullCrawl SwitchParameter This parameter is available only in the cloud-based service.
-HoldCleanup SwitchParameter The HoldCleanup switch instructs the Managed Folder Assistant to clean up duplicate versions of items in the Recoverable Items folder that might have been created when a mailbox is on In-Place Hold, Litigation Hold,...
-InactiveMailbox SwitchParameter This parameter is available only in the cloud-based service.
-StopHoldCleanup SwitchParameter This parameter is available only in the cloud-based service.
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. You don't need to specify a value with this switch.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.