Amy,

your command looks good. I also made a test:
dsget group "cn=oldgroup,dc=....." -members | dsmod group
"cn=newgroup,dc=...." -addmbr

and it worked!

Does the first part of your query work?

dsget group "cn=RBAC-Officer-X-X-R,ou=security
groups,ou=testpol,dc=testpol,dc=org,dc=uk" -members |



Thomas
| 2006/12/20, Almeida Pinto, Jorge de <[EMAIL PROTECTED]>:



It should work, I just tried it myself.



jorge


________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Amy Hunter
Sent: woensdag 20 december 2006 10:22
To: [email protected]
Subject: [ActiveDir] OT: DSGET/DSQUERY





Hello,


Windows 2003 Single Domain


I have a security group with a 120 users which I want to export and add them
to a new Security Group.


I have tried using the following query but it fails. It says "DSMOD Failed:
The parameter is incorrect"


This is the query:


dsget group "cn=RBAC-Officer-X-X-R,ou=security
groups,ou=testpol,dc=testpol,dc=org,dc=uk" -members | dsmod
group "cn=MCMSSubscribers-X-A,ou=security
groups,ou=testpol,dc=testpol,dc=org,dc=uk" -addmbr


Any ideas? or alternative methods.


Amy

 Send instant messages to your online friends http://uk.messenger.yahoo.com



This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/[email protected]/

Reply via email to