Charlie,
This worked great! Thanks! (And thanks to the others for the other
suggestions!)
Mike Thommes
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charlie Kaiser
Sent: Thursday, June 23, 2005 5:54 PM
To: [email protected]
Subject: RE: [ActiveDir] using adfind/admod or dsquery/dsmod to copy
members in a group
I couldn't get this to work with adfind/admod, but I was able to make it
work with dsget/dsmod. Here's the syntax:
dsget group "<DN of source group>" -members | dsmod group "<DN of
destination group>" -addmbr
This took all the members of the source DL and added them to the
destination DL...
**********************
Charlie Kaiser
MCSE, CCNA
Systems Engineer
Essex Credit / Brickwalk
510 595 5083
**********************
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Thommes, Michael M.
> Sent: Thursday, June 23, 2005 2:51 PM
> To: [email protected]
> Subject: RE: [ActiveDir] using adfind/admod or dsquery/dsmod
> to copy members in a group
>
> Yep!
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Charlie Kaiser
> Sent: Thursday, June 23, 2005 4:47 PM
> To: [email protected]
> Subject: RE: [ActiveDir] using adfind/admod or dsquery/dsmod to copy
> members in a group
>
> Does the new DL already exist?
>
> **********************
> Charlie Kaiser
> MCSE, CCNA
> Systems Engineer
> Essex Credit / Brickwalk
> 510 595 5083
> **********************
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Thommes, Michael M.
> > Sent: Thursday, June 23, 2005 1:48 PM
> > To: [email protected]
> > Subject: [ActiveDir] using adfind/admod or dsquery/dsmod to
> > copy members in a group
> >
> > Hi,
> > Task - to copy members of an AD email distribution group
> > to another
> > email distribution group
> >
> > I have looked at both adfind and dsquery and while I can
> output all of
> > the properties of the source email distribution group (including
> > members), I can't see how to restrict the output just to members in
> > order to pipe them to another email distribution group.
> >
> > Any thoughts?
> >
> > TIA,
> > Mike Thommes
> > List info : http://www.activedir.org/List.aspx
> > List FAQ : http://www.activedir.org/ListFAQ.aspx
> > List archive:
> > http://www.mail-archive.com/activedir%40mail.activedir.org/
> >
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive:
> http://www.mail-archive.com/activedir%40mail.activedir.org/
>
>
> List info : http://www.activedir.org/List.aspx
> List FAQ : http://www.activedir.org/ListFAQ.aspx
> List archive:
> http://www.mail-archive.com/activedir%40mail.activedir.org/
>
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/