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
Manage file and printer shares
NET SHARE, VIEW
Manage open files and user sessions
NET FILE, SESSIONS
Manage Network Time
NET TIME
Manage Network Print jobs
NET 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
OPENFILES - Query or display open files
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
© Copyright SS64.com 1999-2013
Some rights reserved