You can use the following formatting legend to understand the meaning of the text formatting used in the netsh command references.

Formatting legend

The text formatting described below details how to interpret the text formatting of all netsh commands in this reference so that you type the command syntax correctly when you run the command at the netsh prompt or in a batch file or script.

Format Meaning


Information that the user must supply.


Elements that the user must type exactly as shown.

Ellipsis (...)

Parameter that can be repeated several times in a command line.

Between brackets ([])

Optional items.

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one.

Courier font

Code or program output.