Commands › Exchange Online
Mount-Database
Mount mailbox databases on Exchange servers. The cmdlet mounts the database only if the Microsoft Exchange Information Store service and the Microsoft Exchange Replication service are running.
Quick start script
# Mount-Database — 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
Mount-Database -Identity <DatabaseIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Mount-Database | Export-Clixml .\Database-$(Get-Date -Format yyyyMMdd).xml
Syntax
Mount-Database [-Identity] <DatabaseIdParameter>
[-AcceptDataLoss]
[-Confirm]
[-DomainController <Fqdn>]
[-Force]
[-NewCapacity]
[-WhatIf]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.