Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Wed, 7 Jun 2006 21:05:40 -0700,    group: microsoft.public.exchange2000.active.directory.integration        back       


how to get an email address list?   
I need to extract a list of user names and email addresses.
How can I do that?

Rob
date: Wed, 7 Jun 2006 21:05:40 -0700   author:   Rob

Re: how to get an email address list?   
What do you mean by email addresses, just SMTP?

You can do the following

adfind -h 2k3dc02 -sc exchaddresses:smtp sAMAccountName -csv

If you want all addresses

adfind -h 2k3dc02 -sc exchaddresses sAMAccountName -csv


   joe


--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

         http://www.joeware.net/win/ad3e.htm



Rob wrote:
> I need to extract a list of user names and email addresses.
> How can I do that?
> 
> Rob 
> 
>
date: Thu, 08 Jun 2006 00:17:38 -0400   author:   Joe Richards [MVP]

Re: how to get an email address list?   
I got that to work without using the servername, which is fine, but can't 
figure out how to get the data to a file.
I understand the -csv is supposed to do that, but don't I need to give it a 
name and path? is there a default path?
Yes I just need all names + smtp addresses.

Thanks Joe,

Rob


"Joe Richards [MVP]"  wrote in message 
news:uA1w7JriGHA.3408@TK2MSFTNGP05.phx.gbl...
> What do you mean by email addresses, just SMTP?
>
> You can do the following
>
> adfind -h 2k3dc02 -sc exchaddresses:smtp sAMAccountName -csv
>
> If you want all addresses
>
> adfind -h 2k3dc02 -sc exchaddresses sAMAccountName -csv
>
>
>   joe
>
>
> --
> Joe Richards Microsoft MVP Windows Server Directory Services
> Author of O'Reilly Active Directory Third Edition
> www.joeware.net
>
>
> ---O'Reilly Active Directory Third Edition now available---
>
>         http://www.joeware.net/win/ad3e.htm
>
>
>
> Rob wrote:
>> I need to extract a list of user names and email addresses.
>> How can I do that?
>>
>> Rob
date: Thu, 8 Jun 2006 07:27:11 -0700   author:   Rob

Re: how to get an email address list?   
Adfind always writes to console, if you want the output sent to a file, 
redirect the output with standard command line redirection.


--
Joe Richards Microsoft MVP Windows Server Directory Services
Author of O'Reilly Active Directory Third Edition
www.joeware.net


---O'Reilly Active Directory Third Edition now available---

         http://www.joeware.net/win/ad3e.htm



Rob wrote:
> I got that to work without using the servername, which is fine, but can't 
> figure out how to get the data to a file.
> I understand the -csv is supposed to do that, but don't I need to give it a 
> name and path? is there a default path?
> Yes I just need all names + smtp addresses.
> 
> Thanks Joe,
> 
> Rob
> 
> 
> "Joe Richards [MVP]"  wrote in message 
> news:uA1w7JriGHA.3408@TK2MSFTNGP05.phx.gbl...
>> What do you mean by email addresses, just SMTP?
>>
>> You can do the following
>>
>> adfind -h 2k3dc02 -sc exchaddresses:smtp sAMAccountName -csv
>>
>> If you want all addresses
>>
>> adfind -h 2k3dc02 -sc exchaddresses sAMAccountName -csv
>>
>>
>>   joe
>>
>>
>> --
>> Joe Richards Microsoft MVP Windows Server Directory Services
>> Author of O'Reilly Active Directory Third Edition
>> www.joeware.net
>>
>>
>> ---O'Reilly Active Directory Third Edition now available---
>>
>>         http://www.joeware.net/win/ad3e.htm
>>
>>
>>
>> Rob wrote:
>>> I need to extract a list of user names and email addresses.
>>> How can I do that?
>>>
>>> Rob 
> 
>
date: Thu, 08 Jun 2006 15:08:22 -0400   author:   Joe Richards [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us