When you run only “Net Localgroup” it will list all the groups in the Windows 10 PC. This post offers detailed steps on how to Add or Delete Local Users and Groups using PowerShell.