Commands › Exchange Online
New-SettingOverride
**Caution**: Incorrect usage of the setting override cmdlets can cause serious damage to your Exchange organization. This damage could require you to reinstall Exchange. Only use these cmdlets as instructed by product documentation or under the direction of Microsoft Customer Service and Support. Use the New-SettingOverride cmdlet to create setting overrides that store Exchange customizations in Active Directory instead of in text files on the server.
Quick start script
# New-SettingOverride — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SettingOverride
$before | Format-List
# 3. Make the change (dry run first)
New-SettingOverride -Name <String> -Component <String> -Parameters <MultiValuedProperty> -WhatIf
New-SettingOverride -Name <String> -Component <String> -Parameters <MultiValuedProperty>
# 4. Verify and diff
$after = Get-SettingOverride
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-SettingOverride [-Name] <String> -Component <String> -Parameters <MultiValuedProperty> -Reason <String> -Section <String>
[-Confirm]
[-DomainController <Fqdn>]
[-Force]
[-MaxVersion <Version>]
[-MinVersion <Version>]
[-Server <String[]>]
[-WhatIf]
[<CommonParameters>]
Parameters (12)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.