exporting info from an OU

  • Thread starter Thread starter James
  • Start date Start date
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.
 
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.
 
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
 
If you have time I'd try ADSI and get the info using visual basic scritp,
visual basic or c++
 
Back
Top