NET ACCOUNTS [/FORCELOGOFF:{minutes | NO} ] [/MINPWLENGTH:length]
[/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN]
NET ACCOUNTS
NET ACCOUNTS /DOMAIN
NET ACCOUNTS /MAXPWAGE:UNLIMITED /DOMAIN
NET USER Ella
NET USER [/DOMAIN]
NET USER username {password | *} /ADD [options] [/DOMAIN]
NET USER [username [password | *] [options]] [/DOMAIN]
NET USER username /DELETE [/DOMAIN]
NET GROUP groupname /ADD /DOMAIN
NET LOCALGROUP groupname /ADD
NET GROUP groupname /DOMAIN
NET LOCALGROUP groupname
NET GROUP groupname /DELETE [/DOMAIN]
NET LOCALGROUP groupname /DELETE
NET GROUP groupname username [...] /ADD /DOMAIN
NET LOCALGROUP groupname username [...] /ADD
NET GROUP groupname username [...] /DELETE /DOMAIN
NET LOCALGROUP groupname username [...] /DELETE
NET FILE
NET SESSION
NET START
NET STOP <SERVICE> && NET START <SERVICE>
NET SHARE
NET SHARE <sharename>=C:\path\to\folder /REMARK:"comment" /CACHE:No
NET SHARE <sharename> /USERS:15
NET SHARE <sharename> /UNLIMITED
NET SHARE <sharename> /DELETE
NET USE J: \\MainServer\Users\
NET USE J: /DELETE /Y
PS C:\> $SecString = "s5QxXkwnOxt3MuNlgY6E" | ConvertTo-SecureString -AsPlainText -Force
PS C:\> $cred = New-Object System.Management.Automation.PsCredential('DOMAIN\user',$SecString)
PS C:\> New-PSDrive -name G -Root \\Server64\Share1 -Credential $cred -PSProvider filesystem -Persist
NET VIEW
NET VIEW \\ComputerName
NET VIEW /DOMAIN
NET VIEW /DOMAIN:domainname
N/A