2

I am running the following command in an attempt to export all of the groups from my domain.

ldifde -f export_Groups_NO_Members.ldf -s XXX -d "dc=XXX,dc=XXX,dc=XXX" -p subtree –r "(&(ObjectCategory=group)(objectclass=group)(name=*))" -l "cn,name,sAMAccountName,grouptype,objectclass" -j c:\

When I run this, I get the error Invalid Parameter: Bad argument '-r', but I am almost positive that the syntax on the LDAP filter is correct. Can someone see what is wrong here?

1

That '-r' is not a hyphen. It is an "em dash". Perhaps you copied and pasted that from Word/Outlook that auto-corrected your hyphen.

  • Yes Greg. Very good catch. Now I feel silly. Thanks so much! – TonyD Jan 17 '13 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.