Although Windows is lonely in its friendly interface, unrivaled Windows still has a lot to do and do badly, learning and mastering command line technology is a compulsory course for an absolute master. Starting from the actual needs of computer system maintenance and network management, this paper introduces the use of more net commands in detail, and expounds them from the command format, main functions, applicable environment, typical application and flexible adaptation. NET command, I believe you will be able to quickly grasp the net command line-this system and network management tool.
One, Net series command composition
NET This command is another powerful command line for Windows systems, consisting primarily of a set of commands, as shown in table 1:
NET Service overview Many of the network commands used by the service begin with the word net. These net commands have some common attributes:
At the command prompt, type net/? To view a list of all available net commands. You can get the syntax help for the net command at the command line by typing the net HELP command at the command prompt. All net commands accept/y (yes) and/n (no) command-line options. For example, the net stop Server command prompts the user to confirm that they want to stop all dependent server services, while net stop server/y the server service without acknowledging and shutting down by automatically answering yes. If your service name contains spaces, enclose the text in quotation marks (that is, "service name").
Two, commonly used NET command detailed and application example
1. Net View
Role: Displays a list of domains, computers, or resources that are being shared by the specified computer. If used without parameters, net view displays a list of computers in the current domain.
Command format:
NET view [\\ComputerName] [/domain[:D Omainname]]
net VIEW/NETWORK:NW [\\ComputerName]
net View/cache