Applies to: Exchange Server 2013

Topic Last Modified: 2012-07-12

Use the Get-IPBlockListEntry cmdlet to obtain information about the IP address configuration that's used by the Connection Filter agent.

Syntax

Get-IPBlockListEntry -IPAddress <IPAddress> <COMMON PARAMETERS>
Get-IPBlockListEntry [-Identity <IPListEntryIdentity>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-ResultSize <Unlimited>] [-Server <ServerIdParameter>]

Examples

EXAMPLE 1

This example returns a list of all IP addresses in the IP Block list.

Copy Code
Get-IPBlockListEntry

EXAMPLE 2

This example returns machine-generated entries in the IP Block list that are inserted by sender reputation.

Copy Code
Get-IPBlockListEntry | where { $_.IsMachineGenerated }

Detailed Description

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Anti-spam features" entry in the Anti-Spam and Anti-Malware Permissions topic.

Parameters

Parameter Required Type Description

IPAddress

Required

System.Net.IPAddress

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 192.168.0.20, enter any IP address in the IP Block list IP address range to return the IP Block list entry.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.IPListEntryIdentity

The Identity parameter specifies a configuration number to view a specific IP Block list entry. When you add an IP address to the IP Block list, the Identity parameter is automatically incremented.

ResultSize

Optional

Microsoft.Exchange.Data.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

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The Server parameter specifies the Exchange server on which you want to run this command. You can use any value that uniquely identifies the server. For example:

  • Name

  • FQDN

  • Distinguished name (DN)

  • Exchange Legacy DN

If you don't use the Server parameter, the command is run on the local server.

You can't use this parameter to configure other Edge Transport servers remotely.

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.