Keyword filter search for rules in Windows Firewall with Advanced Security


hi all,

i wondering whether help, want carry out keyword filter search rules have icmp in title in windows firewall advanced security , wondering possible in either gui or powershell. appreciated.

kind regards,

rocknrolltim

hi,

to txt:

get-netfirewallrule -name *icmp* | out-file x:\filename.txt get-netfirewallrule -name *icmp* > x:\filename.txt

to csv:

get-netfirewallrule -name *icmp* | export-csv x:\filename.csv -notypeinformation -force

to html:

get-netfirewallrule -name *icmp* | convertto-html | set-content x:\filename.html
suggest use csv format.


best regards
cartman
please remember mark replies answers if help. if have feedback technet subscriber support, contact tnmff@microsoft.com




Windows Server  >  Security



Comments