#note document more

Provides various network services, depending on the command used. Available variants per command:

$ net
The syntax of this command is:

NET
    [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
      HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START |
      STATISTICS | STOP | TIME | USE | USER | VIEW ]

net accounts

$ net accounts /?
The syntax of this command is:

NET ACCOUNTS
[/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]
              [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days]
              [/UNIQUEPW:number] [/DOMAIN]

Example

$ net accounts
Force user logoff how long after time expires?:       Never
Minimum password age (days):                          0
Maximum password age (days):                          42
Minimum password length:                              0
Length of password history maintained:                None
Lockout threshold:                                    Never
Lockout duration (minutes):                           30
Lockout observation window (minutes):                 30
Computer role:                                        WORKSTATION
The command completed successfully.

net computer

$ net computer /?
The syntax of this command is:

NET COMPUTER
\\\\computername {/ADD | /DEL}

net config

$ net config /?
The syntax of this command is:

NET CONFIG
[SERVER | WORKSTATION]

Example:

$ net config workstation
Computer name                        \\\\LAPTOP-HVPJGI3T
Full Computer name                   LAPTOP-HVPJGI3T
User name                            kjk

Workstation active on
        NetBT_Tcpip_{C3715226-339E-4A28-A844-5DD3F5C462EA} (28C63F9EFABB)

Software version                     Windows 10 Pro

Workstation domain                   WORKGROUP
Logon domain                         LAPTOP-HVPJGI3T

COM Open Timeout (sec)               0
COM Send Count (byte)                16
COM Send Timeout (msec)              250
The command completed successfully.

net continue

$ net continue
The syntax of this command is:

NET CONTINUE
service

net file

$ net file /?
The syntax of this command is:

NET FILE
[id [/CLOSE]]

net group

$ net group /?
The syntax of this command is:

NET GROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
             groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]
             groupname username [...] {/ADD | /DELETE} [/DOMAIN]

net localgroup