In the Windows console , display the list of network workgroups.
What commands can I use to do this?
I understand you need a list of groups from the domain.
net localgroup /domain net group /domain Where there is a dsquery utility:
dsquery group -desc * You can also try using WMI queries using the wmic utility.
wmic path Win32_Group get Name The disadvantage of this command is that at the beginning it lists the local computer groups. So the request must be filtered. However, this is solved. Both for the previous team and for the current one.
Source: https://ru.stackoverflow.com/questions/740926/
All Articles