Searching in AD for group of users using powershell RRS feed

  • General discussion

  • Hi there!

    Everyday I need to search in AD for 50-300 users manually and see if they exists over there - recently I've heard about Powershell and it amazes me!   I checked if some commands are working and for example I put in :

    get-aduser -f {name -like '*NameHere*'}      and it gives me back information about user in AD :)  Im wondering if there is a w way for example to told Powershell to look into some spreadsheet (full names of people I need to look for are therE) and then put every single name in this search and look if they exists in AD ( like 98% will not exists and its fine). If someone will be found in AD from that list I would like powershell to report it in command prompt.  I guess its possible for Powershell to do this but I do not have idea where to start :(

    Thank you for your help - creating this script will make my work much much more faster! 

    • Changed type Bill_Stewart Friday, July 27, 2018 6:31 PM
    • Moved by Bill_Stewart Friday, July 27, 2018 6:32 PM This is not "scripts on demand"
    Tuesday, May 1, 2018 1:36 PM

All replies