Some time savers for you:
If you need to list all members in ANY local windows group this is the command line:
net localgroup Administrators
If you need to list a domain group
net group MyGroupName /domain
if you need to see information for a domain user (includes is active and his groups):
net user MyUserName /domain
Cheers,
Nik
look at this “list-members-of-local-administrators-group-in-all-domain-computers”:
https://bestitsm.wordpress.com/2018/06/11/list-members-of-local-administrators-group-in-all-domain-computers/
LikeLike