net

NET.exe

The NET Command is used to manage network resources as follows:

Manage Services

NET START, STOP, PAUSE, CONTINUE

Connect to a file/print Share (Drive Map)

NET USE

Create/view file/printer Shares

NET SHARE, VIEW, FILE, SESSIONS

Manage Network Print jobs and Network Time

NET TIME, PRINT

Security

NET ACCOUNTS, USER, GROUP, LOCALGROUP

Network Messaging

NET NAME, SEND

Help

NET HELP, HELPMSG

Network configuration

NET COMPUTER, CONFIG_WORKSTATION, CONFIG_SERVER, STATISTICS_WORKSTATION, STATISTICS_SERVER

When you use NET commands in a batch file, you can use the Y or N switch to unconditionally answer Yes or No to questions returned by the Net command

"The white man knows how to make everything but he does not know how to distribute it" - Sitting Bull

Related:

CON2PRT - Connect or disconnect a Printer

GLOBAL - Display membership of global groups

LOCAL - Display membership of local groups

MODE - Configure a system device

NETDOM - Domain Manager

SC - Service Control

Q149427 - Change Password from the CMD prompt

Equivalent bash commands (Linux): groups - group names a user is in, users - login names of users currently logged in