Get AD usernames matching pre-loaded SIDs


  • Powershell novice here. I have this scenario:

    I have a csv file with SIDs and 2 other fields that I am able to import into a variable in powershell.

    Using these SID values, I want to get DisplayName, mail attributes of users in AD. 

    Then I want to export to a new csv file SID values, DisplayName, mail and 2 other imported fields.

    Can anyone guide me on what the basic structure of powershell script will look like?

    Thursday, July 12, 2018 10:45 AM

All replies