Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > DSADD with -memberof

Reply
Thread Tools Display Modes

DSADD with -memberof

 
 
bryan
Guest
Posts: n/a

 
      08-13-2004
DSADD is working nicely with the exception of the -
memberof parameter. I am trying to assign users to
multiple groups with some group names containing spaces.
Can somone point me to an example which will work. TIA
 
Reply With Quote
 
 
 
 
Jerold Schulman
Guest
Posts: n/a

 
      08-20-2004
On Fri, 13 Aug 2004 05:55:54 -0700, "bryan"
<> wrote:

>DSADD is working nicely with the exception of the -
>memberof parameter. I am trying to assign users to
>multiple groups with some group names containing spaces.
>Can somone point me to an example which will work. TIA


Just use " marks around the group names.

dsadd user "CN=OU_User1,OU=OU_TEST,DC=JSIINC,DC=COM" -samid OUUser1 -Display
"OUUser1" -fn "OUUser1" -ln "OUUser1" -pwd abcdef123456ABCDEF -memberof
"CN=Accounts Payables,CN=Users,DC=JSIINC,DC=COM"
"CN=accountants,CN=Users,DC=JSIINC,DC=COM"

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote dsadd TedMac Windows Server 0 08-28-2006 08:50 PM
DSADD Command failure M_Hood Windows Server 1 08-12-2005 01:21 PM
DSADD Ric Windows Server 2 11-25-2004 09:57 AM
dsadd user Dave Munday Windows Server 5 08-06-2004 04:29 PM
DsAdd and DsModify CMD-line tools work on a WIndows 2K DC??? Spin Windows Server 1 06-23-2004 08:12 PM