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

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file