Export (0) Print
Expand All

Remove-IPBlockListEntry

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

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>]]

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.IPListEntryIdentity

The Identity parameter specifies 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.

Confirm

Optional

System.Management.Automation.SwitchParameter

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.

Server

Optional

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

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.

WhatIf

Optional

System.Management.Automation.SwitchParameter

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 Block list entry when using the Remove-IPBlockListEntry command. The Identity parameter is an integer value automatically assigned when the IP Block list entry is first created. To remove a specific IP address or IP address range from the IP Block list, you can use the output of the Get-IPBlockListEntry 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 192.168.0.100 from the IP Block list.

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

This example removes the IP address range 192.168.0.0/24 from the IP Block list.

Get-IPBlockListEntry | Where {$_.IPRange -eq '192.168.0.0/24'} | Remove-IPBlockListEntry
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft