I am trying to create a script to search several computers and list what groups a specific user is a member of an export to a csv file.
ComputerA has a user called USERA that is a member of the local Administrators group and Remote Desktop Users group
ComputerB has a user called USERA that is a member of the local Administrators group and Backup Operators group
The cvs file would list the computer name, USERA, and groups that it is a member of
ComputerA,USERA,Remote Desktop Users
Any help is greatly appreciated.