Link to home
Start Free TrialLog in
Avatar of pramod1
pramod1Flag for United States of America

asked on

exchange, active directory

I am looking for a script to run on my DC to retrieve 600 users their email address like pramod@domian.com

is there any script I can use
SOLUTION
Avatar of Klavs R
Klavs R

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of FOX
FOX
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pramod1

ASKER

I have this file , will above script work, what should I put in csv file
Copy-of-List.xlsx
When you run my command it will output the displayname and the emailaddress to a csv. file which  you can open  in excel or notepad.  The choice is yours.  Go for it.  Edit the out-file location to where you want the .csv file to save.
Avatar of pramod1

ASKER

what about the excel file I got, I have to pull the address
Your initial request was to pull the email addresses for 600 users, correct?
Avatar of pramod1

ASKER

with the excel file I got
Avatar of pramod1

ASKER

where I will use
Avatar of pramod1

ASKER

I want only for 600 users, I have attached 2 names as of now
Avatar of pramod1

ASKER

in excel sheet, how should I use them in script which you mentioned above