net Command Examples

System utility to view and modify network-related settings. More information: https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/gg651155(v=ws.11).

net {{start|stop}} {{service}}

net use {{\\smb_shared_folder}} /USER:{{username}}

net share

net session

net localgroup "{{Administrators}}"

net localgroup "{{Administrators}}" {{username}} /add

net help {{subcommand}}

net help