Windows Dev Center

NetShell and Command Abbreviation

NetShell commands can be abbreviated to the shortest unambiguous string. This enables administrators to perform a type of shorthand for NetShell commands. For example, the following two lines achieve the same result:

netsh interface ip> show ip interface
netsh interface ip> sh ip int

This functionality is provided by the MatchToken function provided by the NetShell API. Programmers creating NetShell helpers can use the MatchToken function to implement command abbreviation for NetShell commands.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft