I'm trying to setup a script to unblock IP's that may get caught up in a custom rule on Windows Firewall. I am trying this:
netsh advfirewall firewall delete rule name="rule_name" remoteip="ip"
In the scope within Windows Firewall, I see the IP is listed and blocked but when I try to run the script I am getting:
No rules match the specified criteria.
Is this the correct way to script to remove these IPs on an automated script or is there a simpler way to approach this?