Chapter 25. Using netsh

This chapter provides information and commands concerning the following topics:

Understanding netsh

Understanding netsh contexts

Configuring IPv4 with netsh

Configuring an IPv6 address with netsh

Disabling IPv6 in Windows Server 2008

Tip

You should be familiar with the netsh command when preparing for the 70-640, 70-642, and 70-646 exams.

Understanding netsh

The Net Shell (netsh) command is a rich command-line scripting tool that enables you to display and modify the network configuration of local and remote computers. You can run netsh commands from the netsh prompt, from the command prompt, or from a batch file.

For example, the following table shows different ways you can create a rule to open port 6789 ...

Get Windows Server 2008 Portable Command Guide: MCTS 70-640, 70-642, 70-643, and MCITP 70-646, 70-647 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.