Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation.
C:\Windows>netsh firewall ?
下列指令有效:
此上下文中的命令:
? - 显示命令列表。
add - 添加防火墙配置。
delete - 删除防火墙配置。
dump - 显示一个配置脚本。
help - 显示命令列表。
set - 设置防火墙配置。
show - 显示防火墙配置。
若需要命令的更多帮助信息,请键入命令,接着是空格,
后面跟 ?。
添加防火墙配置。
C:\Windows>netsh firewall add ?
下列指令有效:
删除防火墙配置。
C:\Windows>netsh firewall delete ?
下列指令有效:
显示一个配置脚本。
C:\Windows>netsh firewall dump ?
用法: dump
说明:
创建一个包含当前配置的脚本文件。如果保存到
文件,此脚本可以用来还原更改的配置设置。
显示命令列表。
C:\Windows>netsh firewall help ?
用法: help
说明:
显示命令列表。
设置防火墙配置。
C:\Windows>netsh firewall set ?
下列指令有效:
显示防火墙配置。
C:\Windows>netsh firewall show ?
下列指令有效:
- cn -/
- de -/
- en -