Windows 10 netsh firewall 命令

Microsoft Windows [Version 10.0.19045.3570]
(c) Microsoft Corporation. C:\Windows>netsh firewall ? 下列指令有效: 此上下文中的命令: ? - 显示命令列表。 add - 添加防火墙配置。 delete - 删除防火墙配置。 dump - 显示一个配置脚本。 help - 显示命令列表。 set - 设置防火墙配置。 show - 显示防火墙配置。 若需要命令的更多帮助信息,请键入命令,接着是空格, 后面跟 ?。

添加防火墙配置。

»netsh »firewall »add


C:\Windows>netsh firewall add ?

下列指令有效:

删除防火墙配置。

»netsh »firewall »delete


C:\Windows>netsh firewall delete ?

下列指令有效:

显示一个配置脚本。

»netsh »firewall »dump


C:\Windows>netsh firewall dump ?

用法: dump

说明:
    创建一个包含当前配置的脚本文件。如果保存到
    文件,此脚本可以用来还原更改的配置设置。

显示命令列表。

»netsh »firewall »help


C:\Windows>netsh firewall help ?

用法: help

说明:
       显示命令列表。

设置防火墙配置。

»netsh »firewall »set


C:\Windows>netsh firewall set ?

下列指令有效:

显示防火墙配置。

»netsh »firewall »show


C:\Windows>netsh firewall show ?

下列指令有效:



- cn -/- de -/- en -









Windows-10


... Windows 10 FAQ
... Windows 10 How To


Windows 10 How To


... Windows 11 How To
... Windows 10 FAQ



HTTP: ... console/en/index.htm
0.296
8435

Pause the Windows 11 auto updates for up to 5 weeks!

Set the default printer for Windows 11!

Get a grip on hanging programs and apps as admin!

Checkbox in Windows 11 File Explorer!

With Windows 11, potentially unwanted apps are blocked!

Export the output of the command prompt (cmd.exe) TXT, RTF, HTML!



(0)