Search notes:

netsh advfirewall firewall show

Show all firewall rules:
netsh advfirewall firewall show rule name=all
Find firewall rules whose name match a given regular expression in PowerShell:
$namePattern='Core Networking.*ICMP'
netsh advfirewall firewall show rule name=all | select-string "^Rule Name:.*$namePattern"
Show details about firewall rules with a given name. Multiple entries may be shown because the same name can occur in multiple domains:
netsh advfirewall firewall show rule name="Core Networking Diagnostics - ICMP Echo Request (ICMPv4-In)"

Index