Description
Removes a single WFP outbound-block filter by its numeric filter ID. Use Get-WfpBlock to retrieve the ID of the rule you want to remove.
Overview
This script calls Remove-WfpFilter to delete a single WFP filter rule by its numeric ID. This is useful when you want to restore network access for one specific process without removing all blocks at once.
Run Get Active WFP Block Rules first to find the FilterId of the rule you want to remove.
Pre-Requisites
- High integrity (Administrator) process
Dependencies
- Firewall
Parameters
| Parameter | Type | Description |
|---|---|---|
| FilterId | uint64 | The numeric WFP filter ID to remove. Retrieve this from Get-WfpBlock. |
Example Output
Filter 65537 removed successfully.
