NETSH
(netsh)
用法: netsh [-a AliasFile] [-c
Context] [-r RemoteMachine]
[Command | -f ScriptFile]
下列指令有效:
此上下文中的命令:
?
- 显示命令列表。
add
- 在项目列表上添加一个配置项目。
bridge
- 更改到 `netsh bridge' 上下文。
delete
- 在项目列表上删除一个配置项目。
diag - 更改到
`netsh diag' 上下文。
dump
- 显示一个配置脚本。
exec - 运行一个脚本文件。
firewall - 更改到 `netsh firewall' 上下文。
help - 显示命令列表。
interface - 更改到 `netsh interface' 上下文。
ras
- 更改到 `netsh ras'
上下文。
routing - 更改到
`netsh routing' 上下文。
set
- 更新配置设置。
show - 显示信息
winsock - 更改到
`netsh winsock' 上下文。
下列的子上下文可用:
bridge diag firewall interface ras
routing winsock
若需要命令的更多帮助信息,请键入命令,后面跟 ?。
Usage:
netsh [-a AliasFile] [-c
Context] [-r RemoteMachine]
[Command | -f ScriptFile]
The
following commands are available:
Commands
in this context:
?
- Displays a list of commands.
add
- Adds a configuration entry to a list of entries.
bridge
- Changes to the `netsh bridge' context.
delete
- Deletes a configuration entry from a list of entries.
diag
- Changes to the `netsh diag'
context.
dump
- Displays
a configuration script.
exec
- Runs a script file.
firewall - Changes
to the `netsh firewall' context.
help
- Displays a list of commands.
interface - Changes to the
`netsh interface' context.
ras
- Changes to the `netsh ras'
context.
routing -
Changes to the `netsh routing' context.
set
- Updates configuration settings.
show
- Displays information.
winsock -
Changes to the `netsh winsock'
context.
The
following sub-contexts are available:
bridge diag firewall interface ras
routing winsock
To
view help for a command, type the command, followed by a space, and then type ?.