exporting info from an OU

J

James

I need to export a user list from a security group in AD (Win2k).....

I know I can use the csvde utility, but I can't get the syntax right.
The name of the OU is 'Security Groups' and the security group I want
the list of users from is called 'Citrix Oneworld'.

I tried this:

csvde -f export.csv -d "cn=Citrix Oneworld,ou=Security
Groups,DC=spartan,DC=ab,DC=ca" (our domain is spartan.ab.ca)

But didn't get any entries exported.

Any help appreciated.

J.
 
S

Srikanth N

Please try the following command and check if this works:
csvde -f export.csv -d "ou=Security Groups,cn=Citrix
Oneworld,DC=spartan,DC=ab,DC=ca"

Hope this helps!

Srikanth N
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cary Shultz [A.D. MVP]

James,

I might also suggest that you take a look at ldifde for this sort of thing.
It can do exactly what you are trying to do. However, it will give you an
..ldf file. it is not as nice as a .csv file ( which can be then used from
within Excel ).

HTH,

Cary
 
N

NO_MSC_NO_MSCP_NO_MSENGINEER

If you have time I'd try ADSI and get the info using visual basic scritp,
visual basic or c++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top