Export (0) Print
Expand All



Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

Topic Last Modified: 2011-01-12

Use the Remove-IPBlockListEntry cmdlet to remove an IP address from the configuration information for the Connection Filter agent on the computer on which the cmdlet is run.

Remove-IPBlocklistEntry -Identity <IPListEntryIdentity> [-Confirm [<SwitchParameter>]] [-Server <ServerIdParameter>] [-WhatIf [<SwitchParameter>]]

If you do not specify the Identity parameter when you run the Remove-IPBlockListEntry cmdlet, the Exchange Management Shell prompts you for it.

The IP Block List entry configuration is used by the Connection Filter agent.

To run the Remove-IPBlockListEntry cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

To run the Remove-IPBlockListEntry cmdlet on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.


Parameter Required Type Description




You must specify the Identity parameter of the IP address that you want to remove. When you add an IP address to the IP Block list, the Identity parameter is automatically incremented.




The Confirm parameter causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm parameter.




To specify a different Hub Transport server on which you run the Remove-IPBlockListEntry cmdlet, include the Server parameter in the command. If you do not use the Server parameter, the command is run on the local server where the command is run.

You cannot use this cmdlet to configure other Edge Transport servers remotely.




The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf parameter.


Error Description


The following code example shows a Remove-IPBlockListEntry command that removes the IP address or IP address range on the IP Block list for the computer on which the command is run.

The following example removes the IP address from the IP Block List.

Get-IPBlockListEntry | Where {$_.IPRange -eq ''} | Remove-IPBlockListEntry

The following example remove the IP range from the IP Block List.

Get-IPBlockListEntry | Where {$_.IPRange -eq ''} | Remove-IPBlockListEntry

You must specify the Identity attribute of an IP Block List entry when using the Remove-PBlockListEntry command. The Identity attribute is an integer value that is automatically assigned when the IP Block List entry is first created. In order to remove a specific IP address or range from the IP Block List, you can use the output of the Get-IPBlockListEntry command.

Remove-IPBlockListEntry -Identity <Integer>
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft