I'm wondering whether anyone in Microsoft has ever come to a situation where they can't remember a rule's name!
The netsh advfirewall firewall show rule
only accepts 1 name and no pattern matching facility is available on netsh to help find a rule using a pattern like "SQL*"
or ^SQL.+$
using show and name=all
it is possible to list all rules but I was unable to find a solid command-line grep tool for windows.
I want to be able to run a command like this:
netsh advfirewall firewall show rule name=sql*
Is this possible?