Commands › Exchange Online
Add-IPBlockListProvider
This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Add-IPBlockListProvider cmdlet to create IP Block list providers that are used by the Connection Filtering agent on Edge Transport servers.
Quick start script
# Add-IPBlockListProvider — 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
Add-IPBlockListProvider -Name <String> -LookupDomain <SmtpDomain> | Format-List
# 3. Export for evidence / drift tracking
Add-IPBlockListProvider | Export-Clixml .\IPBlockListProvider-$(Get-Date -Format yyyyMMdd).xml
Syntax
Add-IPBlockListProvider [-Name] <String> -LookupDomain <SmtpDomain>
[-AnyMatch <Boolean>]
[-BitmaskMatch <IPAddress>]
[-Confirm]
[-DomainController <Fqdn>]
[-Enabled <Boolean>]
[-IPAddressesMatch <MultiValuedProperty>]
[-Priority <Int32>]
[-RejectionResponse <AsciiString>]
[-WhatIf]
[<CommonParameters>]
Parameters (11)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.