csvde to export an OU of computers

Discussion in 'Windows Server' started by Rose, Jul 14, 2006.

  1. Rose

    Rose Guest

    Hi! I'm trying to export an OU containing computers not users. The OU is
    named with 2 words, i.e. Department Computers (note space). I want the name,
    type and description fields to export. My command returns 0 entries found.
    Any advice or correction would be appreciated. This is driving me nuts.

    csvde -n -f computers.csv -d "OU=DepartmentComputers,DC=mydomain,DC=com"
    -r "(objectClass=organizationalUnit") -l "name,type,description"
    Rose, Jul 14, 2006
    1. Advertisements

  2. Rose

    Tom_Slycke Guest

    Change the objectClass to (objectClass=computer)

    and in the RootDN, if there is a space on the OU name, you must have the
    space included here too.

    d "OU=Department Computers,DC=mydomain,DC=com"
    Tom_Slycke, Jul 14, 2006
    1. Advertisements

  3. Rose

    Rose Guest

    Thank you for replying....but I get this error. Additionally do you know if
    servers belong to the objectclass computer? Can't get that to run either. I
    can get csv of the entire domain to run :)

    G:\c:\csvde -n -f computers.csv -d "OU=my computers,DC=my domain,DC=com"-r
    "(objectClass=computers)") -l "name,type,description"
    Invalid Parameter: Bad argument '(objectClass=computers))'
    Rose, Jul 15, 2006
  4. Rose

    Tom_Slycke Guest

    Yes, servers are in the computer class.

    In your code, the oblect Class shoudl be equal to "computer" nto "computers"


    Good luck!!

    Tom_Slycke, Jul 16, 2006
  5. Rose

    Rose Guest

    Does good luck mean I'm on my own because it still does not work :)
    Rose, Jul 16, 2006
  6. Rose

    Rose Guest

    I gave up trying to export a particular OU and just exported the objectclass
    computer like this without quotes or paranthesis. This isn't so bad to sort.

    csvde -m -n -f computers.csv -r objectclass=computer
    Rose, Jul 17, 2006
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.