C: /> Netsh
Netsh> int
Interface> IP
Interface IP> show address
Show current connections
>?
View all commands
> set
View SET command usage
> Set Address
View set address usage
Set address name = "local area connection" Source = DHCP
Set Address Local Static 10.0.0.9 255.0.0.0 10.0.0.1 1
> set DNS
View DNS setting method
SET DNS Name = "Local Area Connection" Source = DHCP
SET DNS "Local Area Connection" static 10.0.0.1
reference
.. - Move to the previous layer.
? - Display the list of commands.
AAAA - Change to `aaaa 'context.
Abort - Discard changes made in offline mode.
Add - Add a configuration item to the project list.
Alias - Add an alias
BYE - Exit the program.
Commit - Submit changes made in offline mode.
Delete - Delete a configuration item on the project list.
DHCP - Change to `DHCP 'context.
Dump - Displays a configuration script.
Exec - Run a script file.
Exit - Exit the program.
Help - Displays the list of commands.
Interface - Change to `Interface 'context.
Offline - sets the current mode to offline.
Online - sets the current mode to an online.
POPD - Open a context from the stack.
Pushd - Push the current context into the stack.
Quit - Exit the program.
RAS - Change to `Ras' context.
Routing - Change to `Routing 'context.
SET - Update Configuration Settings.
Show - Display Information
UNALIAS - Delete an alias.
WINS - Change to `Wins' context.