If you have seen similar then change the parameters to allow for what you
want.
The link below has how to get started with scripting as well as examples,
from which you should be able to modify for your specific requirements.
http://www.microsoft.com/technet/scr...r/default.mspx
You may also want to post this in the script NewsGroup.
microsoft.public.windows.server.scripting
You could also check out Richard Mueller's website, which has quite a few
examples.
http://www.rlmueller.net
--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSci
2003, 2000 (Early Achiever), NT
http://www.pbbergs.com
Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"systemtek" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All,
>
> We have some groups that have say 50 or so members in them, the
> members are also individual contacts as well.
>
> They are dynamic distribution groups. Membership to each group is
> based on the "office" field, obviously different staff in different
> places etc.
>
> Is there a way to pull ALL details for a given field into a text
> file ? i.e some how lets say based on the word LONDON in the "office"
> filed and put all them people in a text file along with all the
> details of the contact, e-mail address etc etc ? I have seen similar
> scripts but not this one.
>
> Thanks
>