简体   繁体   中英

Anyway to install/uninstall firewall rules with batch script?

Is there anyway to install/uninstall firewall rules with a batch script? If so, do you think you could point me in the right direction?

If it can't be done with a batch script, are there any other ways?

Any info is appreciated. Thanks for your time

Yes. Use NETSH. See

netsh advfirewall firewall /?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM