Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Query AD using Powershell for data in a csv file

$
0
0

Hi All,

 

I am new to the Powershell. I have a csv file that has names of the users in it. I am working on a project and I need to have a script which can take input from this csv file and provide me the samaccountname, custom attribute 5, login IDs. I tried to do some research and wrote a code which is not working as designed. This code is pulling undesired data for almost 1000 users which are not in csv file. I appreciate your assistance in advance.

 

Thanks


Viewing all articles
Browse latest Browse all 6937

Latest Images

Trending Articles



Latest Images