Applies to: Exchange Server 2013
Topic Last Modified: 2013-01-11
Use the Remove-IPBlockListEntry cmdlet to remove an IP block list entry that's used by the Connection Filter agent.
Syntax
Remove-IPBlocklistEntry -Identity
<IPListEntryIdentity> [-Confirm [<SwitchParameter>]]
[-Server <ServerIdParameter>] [-WhatIf
[<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example removes the IP address 192.168.0.100 from the IP Block list.
Copy Code | |
---|---|
Get-IPBlockListEntry | Where {$_.IPRange -eq '192.168.0.100'} | Remove-IPBlockListEntry |
EXAMPLE 2
This example removes the IP address range 192.168.0.0/24 from the IP Block list.
Copy Code | |
---|---|
Get-IPBlockListEntry | Where {$_.IPRange -eq '192.168.0.0/24'} | Remove-IPBlockListEntry |
Detailed Description
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 Anti-Spam and Anti-Malware Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.IPListEntryIdentity |
The Identity parameter specifies the IP address 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
|
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. |
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.