Quantcast
Channel: Network Access Protection forum
Viewing all articles
Browse latest Browse all 1875

How to pass two rule names in netsh firewall set rule command

$
0
0

Hi All, how can I use set rule to perform an action on two rules i.e. how can I disable two firewall rules with just one command, I want to pass both rule names in Name parameter in the command, 

my requirement is to run:

netsh advfirewall firewall set rule name="Rule1 Rule2" new enable=yes

please suggest


Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>