add - 添加防火墙配置。delete - 删除防火墙配置。dump - 显示一个配置脚本。help - 显示命令列表。reset - 将防火墙配置重置为默认值。set - 设置防火墙配置。show - 显示防火墙配置。
关闭防火墙:netsh firewall set opmode mode=disable
开启防火墙:netsh firewall reset