Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Remove-IPAllowListEntry 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-IPAllowListEntry -Identity <IPListEntryIdentity> [-Confirm [<SwitchParameter>]] [-Server <ServerIdParameter>] [-WhatIf [<SwitchParameter>]]

Parameter Required Type Description




The Identity parameter specifies the IP address that you want to remove. When you add an IP address to the IP Allow list, the Identity parameter is automatically incremented.




The Confirm switch can be used to suppress the confirmation prompt that appears by default when this cmdlet is run. To suppress the confirmation prompt, use the syntax -Confirm:$False. You must include a colon ( : ) in the syntax.




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

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




The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, 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 switch.

You must specify the Identity parameter for an IP Allow list entry when using the Remove-IPAllowListEntry command. The Identity parameter is an integer value automatically assigned when the IP Allow list entry is first created. To remove a specific IP address or IP address range from the IP Allow list, you can use the output of the Get-IPAllowListEntry command.

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 Transport Permissions topic.

This example removes the IP address from the IP Allow list.

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

This example removes the IP address range from the IP Allow list.

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