Microsoft 365

Set-Mailbox

CautionConfigure a mailbox

Set-Mailbox <upn> -DeliverToMailboxAndForward $true

Changes mailbox settings such as forwarding and quotas.

Examples

Syntax

Set-Mailbox <upn> [-ForwardingSmtpAddress <addr>] [-ProhibitSendQuota <size>]

Before you run it

Forwarding can leak mail; configure carefully.

Used when you see

Mailbox over quota
2
Review quotas and enable archivingIn-place archiving is the durable fix.
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store