windows 排程開關 windows firewall policy

開指定policy,設定其屬性enable=yes
  • netsh advfirewall firewall set rule name="policyname" new enable=yes
關指定policy,設定其屬性enable=no

  • netsh advfirewall firewall set rule name="policyname " new enable=no

留言

熱門文章