Jump to content

obtaining a users e-mail adres from active directory


Recommended Posts

Guest M. Janmaat
Posted

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

  • Replies 2
  • Created
  • Last Reply
Guest Tushar Shah
Posted

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

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.


×
×
  • Create New...