You can run these commands for Wired Interface from the Windows 7 command prompt. To enter the netsh context for lan
- Click Start, click Run, type cmd, and then click OK, to open a command prompt.
- At the command prompt, type netsh and press Enter, then type lan and press Enter. The following command is available for the netsh lan syntax:
add – Adds a profile to the specified interface on the computer.
delete – Removes a LAN profile from the specified interface on the computer.
dump – Generates and saves a script that contains the current configuration.
export – Saves LAN profiles as XML files to a specified location.
help – Displays a list of commands.
reconnect – Reconnects to the network using the specified adapter.
set – Sets wired configuration.
show – Displays information.
Let’s take a look at the netsh /? output in figure 1.
Parameters: There are no parameters associated with this command.
Remarks: Displays a list of commands or parameters.
delete profile /?
Description: The example command, ?, displays the entire list of contexts
supported by netsh.