Guest M. Janmaat Posted June 19, 2008 Posted June 19, 2008 Hi, Can anyone tell me, Is there a way to obtain a users e-mail address from the active directory? Some sort of dos command. I was thinking of "net users loginname /domain >file" but it doesn't provide the users e-mail address. Kind regards, M
Guest Tushar Shah Posted June 19, 2008 Posted June 19, 2008 Re: obtaining a users e-mail adres from active directory On Jun 19, 2:18 pm, "M. Janmaat" <m.janm...@hiensch.nl> wrote: > Hi, > > Can anyone tell me, > > Is there a way to obtain a users e-mail address from the active directory? > Some sort of dos command. > > I was thinking of "net users loginname /domain >file" but it doesn't provide > the users e-mail address. > > Kind regards, > > M Its simple use the following command from Windows support tools command prompt. csvde -f C:\Users.csv Once this command has run you should be able to see an Excel file named Users.csv. Once you have this, look for the user and their SMTP Address.
Guest M. Janmaat Posted June 20, 2008 Posted June 20, 2008 Re: obtaining a users e-mail adres from active directory Thanks a lot! This was very helpfull. Is there also a way to to get the result of just one user? I'm not sure to type the right parameters for that. Kind regards, M "Tushar Shah" <email.tushar@gmail.com> schreef in bericht news:b8c5214a-d901-4426-b3a5-e8265d091785@q24g2000prf.googlegroups.com... On Jun 19, 2:18 pm, "M. Janmaat" <m.janm...@hiensch.nl> wrote: > Hi, > > Can anyone tell me, > > Is there a way to obtain a users e-mail address from the active directory? > Some sort of dos command. > > I was thinking of "net users loginname /domain >file" but it doesn't > provide > the users e-mail address. > > Kind regards, > > M Its simple use the following command from Windows support tools command prompt. csvde -f C:\Users.csv Once this command has run you should be able to see an Excel file named Users.csv. Once you have this, look for the user and their SMTP Address.
Recommended Posts