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.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results