In computing, net is a command in IBM OS/2 (including eComStation and ArcaOS), Microsoft Windows, and ReactOS used to manage and configure the operating system from the command-line.
[3] When used in a batch file, the /Y or /N switches can be used to unconditionally answer Yes or No to questions returned by the command.
[2] The net command has several sub-commands that can differ from one implementation or operating system version to another.
This command makes use of the SMB (server message block) and the NetBIOS protocol on port 139 or 445.
If successfully connected to the target machine, a lot of information can be gathered such as shares, users, groups, registry keys and more.
net
command