netsh
Microsoft Windows
[Version 6.0.6001
](C) Copyright 2006 Microsoft Corp.
c
:\windows>netsh ?
Usage
: netsh
[-a AliasFile
] [-c Context
] [-r RemoteMachine
] [-u
[DomainName\
]UserName
] [-p Password
| *
]
[Command
| -f ScriptFile
]
The following commands are available
:
Commands in this context
:
.. - Goes up one context level.
? - Displays a list of commands.
abort - Discards changes made while in offline mode.
add - Adds a configuration entry to a list of entries.
advfirewall - Changes to the
`netsh advfirewall' context.
alias - Adds an alias.
bridge - Changes to the
`netsh bridge' context.
bye - Exits the program.
commit - Commits changes made while in offline mode.
delete - Deletes a configuration entry from a list of entries.
dhcpclient - Changes to the
`netsh dhcpclient' context.
dump - Displays a configuration script.
exec - Runs a script file.
exit - Exits the program.
firewall - Changes to the
`netsh firewall' context.
help - Displays a list of commands.
http - Changes to the
`netsh http' context.
interface - Changes to the
`netsh interface' context.
ipsec - Changes to the
`netsh ipsec' context.
lan - Changes to the
`netsh lan' context.
nap - Changes to the
`netsh nap' context.
netio - Changes to the
`netsh netio' context.
offline - Sets the current mode to offline.
online - Sets the current mode to online.
p2p - Changes to the
`netsh p2p' context.
popd - Pops a context from the stack.
pushd - Pushes current context on stack.
quit - Exits the program.
ras - Changes to the
`netsh ras' context.
rpc - Changes to the
`netsh rpc' context.
set - Updates configuration settings.
show - Displays information.
unalias - Deletes an alias.
winhttp - Changes to the
`netsh winhttp' context.
winsock - Changes to the
`netsh winsock' context.
wlan - Changes to the
`netsh wlan' context.
The following sub-contexts are available
:
advfirewall bridge dhcpclient firewall http interface ipsec lan nap netio p2p ras rpc winhttp winsock wlan
To view help for a command, type the command, followed by a space, and then
type ?.