{enable|disable}
.-a
AliasFile
-c
Context
-r
RemoteComputer
-u
DomainName
UserName
-p
Password
NetshCommand
-f
ScriptFile
/?
-r
followed by another command, netsh runs the command on the remote computer and then returns to the Cmd.exe command prompt. If you specify -r
without another command, netsh opens in remote mode. The process is similar to using set machine at the Netsh command prompt. When you use -r
, you set the target computer for the current instance of netsh only. After you exit and reenter netsh, the target computer is reset as the local computer. You can run netsh commands on a remote computer by specifying a computer name stored in WINS, a UNC name, an Internet name to be resolved by the DNS server, or an IP address.interface='Wireless Network Connection'