NET ACCOUNTS
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
|
Adjust account settings.
[/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length] [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN] |
NET COMPUTER
|
Add other networked computers with Windows Domain Controller.
\\computername {/ADD | /<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />DEL}
|
NET CONFIG
|
Displays your current server and/or workgroup settings.
[SERVER | WORKSTATION]
|
NET CONTINUE
|
Continues the use of service.
[service]
|
NET FILE
|
Display opened shared files on the server.
[id [/CLOSE]]
|
NET GROUP
|
Add, delete, view, and otherwise manage network workgroups.
[groupname [/COMMENT:"text"]] [/DOMAIN] groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN] groupname username [...] {/ADD | /DELETE} [/DOMAIN] |
NET LOCALGROUP
|
Add, delete, view, and otherwise manage network groups.
[groupname [/COMMENT:"text"]] [/DOMAIN] groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN] groupname name [...] {/ADD | /DELETE} [/DOMAIN] |
NET NAME
|
Create or delete name used for messaging.
[name [/ADD | /DELETE]]
|
NET PAUSE
|
Pause the specified network service.
[service]
|
NET PRINT
|
Manage network print jobs.
\\computername\sharename [\\computername] job# [/HOLD | /RELEASE | /DELETE] |
NET SEND
|
Sends messages to other users, computers, or messaging names on the network. The Messenger service must be running to receive messages.
You can send a message only to an name that is active on the network. If the message is sent to a username, that user must be logged on and running the Messenger service to receive the message.
{name | * | /DOMAIN[:name] | /USERS} message
|
NET SESSION
|
Display all sessions connected to the computer and deletes them if specified.
[\\computername] [/DELETE]
|
NET SHARE
|
Create and manage a local network share.
sharename sharename=drive:path [/USERS:number | /UNLIMITED] [/REMARK:"text"] [/CACHE:Manual | Documents| Programs | None ] sharename [/USERS:number | /UNLIMITED] [/REMARK:"text"] [/CACHE:Manual | Documents | Programs | None] {sharename | devicename | drive:path} /DELETE |
NET START
|
Start the specified network service.
[service]
|
NET STATISTICS
|
Display network statistics of the workstation or server.
[WORKSTATION | SERVER]
|
NET STOP
|
Stop the specified network service.
service
|
NET TIME
|
Display the time and date of another network computer.
[\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET] [\\computername] /QUERYSNTP [\\computername] /SETSNTP[:ntp server list] |
NET USE
|
Connects or disconnects your computer from a shared resource or displays information about your connections.
[devicename | *] [\\computername\sharename[\volume] [password | *]] [/USER:[domainname\]username] [/USER:[dotted domain name\]username] [/USER:[username@dotted domain name] [/SMARTCARD] [/SAVECRED] [[/DELETE] | [/PERSISTENT:{YES | NO}]] NET USE {devicename | *} [password | *] /HOME NET USE [/PERSISTENT:{YES | NO}] |
NET USER
|
Displays users on the computer and/or domain.
[username [password | *] [options]] [/DOMAIN] username {password | *} /ADD [options] [/DOMAIN] username [/DELETE] [/DOMAIN] |
NET VIEW
|
Displays a list of computers in a specified workgroup or the shared resources available on a specified computer.
[\\computername [/CACHE] | /DOMAIN[:domainname]] NET VIEW /NETWORK:NW [\\computername] |
转载于:https://blog.51cto.com/kylewu/333802