How to Get the local Group Members list with nested users (until last one) using power shell script RRS feed

  • Question

  • I have a requirement to get local group members list (Administrators, Remote Dekstop Users ETC..) with its nested members as well until the last one using powershell script for given list of servers.

    Example: when we run the script in given list of servers, it should check for its local groups wherever members are available it should return output with the below table format until it nested groups members list.

    Server User Name User type Description Status Priv group Priv group Admin Parent local group Display name Company
    Server Name ******* Local/Domain ******* Enabled Administrators Local Administrators   ********* ******

    Note: Could anyone help me with the script please. 

    Friday, June 26, 2020 2:50 AM

All replies