Link to home
Start Free TrialLog in
Avatar of Rabih El Haj youssef
Rabih El Haj youssefFlag for Australia

asked on

Distribution list user’s details in active directory

Hi Guys,

I have a DL in Active directory and I need to export all the users in this DL

The outcome is to list Full name, userID,email Address,Company phone,Mobile,IPphone,devision , basically everything if that possible please

I prefer it to be done in PS

Thank you in advance
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
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 Rabih El Haj youssef

ASKER

Hi Mike
if I want to Export it to H drive   where do I replace the path example "H:\listodDL.csv"
export-csv -path h:\listDL.csv

Thanks

Mike
Great solution
Hi Mike ,

sorry I trouble you again ,

is the above script will bring up all the sub DL and contact users also

Please advise  

Thanks
rabih
Hi Mike ,

Could you please assist me , I am running your above script to bring all the users in  sub-distribution lists which has multiple DL's nested inside  the main one  , for some reason did not bring up all the sub DL users , could you please assist ..


Thanks
Rabih