Script to Identify all local groups and members in the respective group
Hi,
I have a whole list of Windows 2012 R2 servers and i am task to find out all the local groups in each server and the members in the respective local group. The members may be local user account, domain user account and/or service account.
I use the net localgroup to list down all the groups followed by net localgroup "Group Name" to list down the member of each group, but this is too tedious. Is there a script to simplify this?
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
I have recommended this question be closed as follows:
Accept: PRADIIP SINGH (https:#a42087642)
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.
seth2740
Experts-Exchange Cleanup Volunteer