Home NT Commands
NT Syntax

NET.exe

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

Managing Services
NET - START, STOP, PAUSE, CONTINUE

Managing File Shares and Printer Shares
NET - SHARE, VIEW, USE, FILE, SESSIONS

Managing Network Print jobs and Network Time
NET - TIME, PRINT

Managing Security
NET - ACCOUNTS, USER, GROUP, LOCALGROUP

Network Messaging
NET - NAME, SEND

Help
NET - HELP, HELPMSG

Managing 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 commands:

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 Linux BASH commands:

groups - Print group names a user is in
hostname - Print or set system name
id - Print user and group id's
logname - Print current login name
mount - Mount a file system
ram - ram disk device
uname - Print system information
users - Print login names of users currently logged in
who - Print who is currently logged in



Simon Sheppard
SS64.com