netsh 命令

netsh
Netsh是一个命令行脚本实用程序,允许您在本地或远程显示或修改当前运行计算机的网络配置。如果不使用参数,netsh将打开netsh.exe命令提示符(即netsh>)。
语法
netsh[-aAliasFile] [-cContext] [-rRemoteComputer] [{NetshCommand | -fScriptFile}]
参数
  • -a
运行AliasFile后返回netsh提示符。
  • AliasFile
指定包含一个或多个netsh命令的文本文件的名称。
  • -c
对指定的netsh上下文的更改。
  • Context
指定netsh上下文。下表列出了可用的netsh上下文。

posted on 2023-11-21 13:24  lydstory  阅读(60)  评论(0)    收藏  举报

导航