Open
Description
[Enter feedback here]
Looking to install an application
which can be installed in any path
I have code to figure out the path
and would like to remove current firewall rule associated with pathtoexe/nameofexe.exe
Firewallrule name here cannot be used as the program can have multiple versions in different install locations, hence naming is not consistent or unique
I cannot find a way to delete a firewall rule by providing a pathtoexe.exe
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 62a3bf98-e90f-9145-0d82-fc99cdd97a1e
- Version Independent ID: 5bb1a23a-9e65-d672-23b3-747fd8cfca07
- Content: Remove-NetFirewallRule (NetSecurity)
- Content Source: docset/winserver2022-ps/netsecurity/Remove-NetFirewallRule.md
- Product: w10
- Technology: windows
- GitHub Login: @JasonGerend
- Microsoft Alias: jgerend