Announcement

Collapse
No announcement yet.

Exporting from sub OU's

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exporting from sub OU's

    Hi,
    I have used CSVDE in the past without to many issues, but am now working on a large domain spanning the globe. I need to export user accounts located in OU's buried well down the tree for example OU=Users,OU=London,OU=UK,OU=Europe,OU=EMEA,DC=xxx, DC=Corp If I input csvde -f export.csv -d "OU=EMEA,DC=xxx,DC=Corp" -r "(objectclass=user)" it works fine but I want to export just user info for the users OU in London. I assumed simply putting in the path ie OU=Users,OU=London,OU=UK,OU=Europe,OU=EMEA,DC=xxx, DC=Corp would do the trick but it doesn't work.
    Clearly I am going wrong somewhere.
    Thanks in advance.
    Last edited by agedmcse; 1st November 2010, 23:22. Reason: typo

  • #2
    Re: Exporting from sub OU's

    DC=Corp and DC=Com.
    Is this a typo or ?
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: Exporting from sub OU's

      Have edited but it was only an example anyway

      Comment


      • #4
        Re: Exporting from sub OU's

        Working OK now. Did nothing apart from the addition of a column filter.

        -l "DN,samaccountname,objectclass,givenName,sn,name,m ail,telephonenumber,department,title,manager"

        Comment

        Working...
        X