Commands › Exchange Online

Get-IPBlockListEntry

Exchange Online ExchangeOnlineManagement Get-*

This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Get-IPBlockListEntry cmdlet to view the IP Block list entries that are used by the Connection Filtering agent on Edge Transport servers.

Quick start script

# Get-IPBlockListEntry — 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
Get-IPBlockListEntry -IPAddress <IPAddress> | Format-List

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

Syntax — 2 parameter sets

Identity

Get-IPBlockListEntry [[-Identity] <IPListEntryIdentity>]
 [-ResultSize <Unlimited>]
 [-Server <ServerIdParameter>]
 [<CommonParameters>]

IPAddress

Get-IPBlockListEntry -IPAddress <IPAddress>
 [-ResultSize <Unlimited>]
 [-Server <ServerIdParameter>]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Identity IPListEntryIdentity The Identity parameter specifies the identity integer value of the IP Block list entry that you want to view. When you add an entry to the IP Block list, the Identity value is automatically assigned.
-IPAddress IPAddress yes The IPAddress parameter specifies an IP address to view in the IP Block list entry or entries. For example, if you have an IP Block list entry that specifies a range of IP addresses from 192.168.0.1 through...
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of results to return. If you want to return all requests that match the query, use unlimited for the value of this parameter. The default value is 1000.
-Server ServerIdParameter The Server parameter specifies the Exchange server where you want to run this command. You can use any value that uniquely identifies the server. For example:

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