active directory - Differences in calling CSVDE from Powershell vs Command Prompt -


Can anyone explain why calling a CSVDE utility from an advanced Windows Command Prompt, a vertical powerhole console? The problem I have is that I can successfully export from Active Directory via the command prompt method, but PowerShell returns an authentication error, "Simple Tie Back" Invalid Credential '.

For both here The command to be used is edited for sensitive pieces:

  c: \ csvde.exe -s domain.company.org -f ExportFile.csv -l "The name given above, SP, IPhone, Title, Dept., Company, Physical DeliveryOfficeName, Mail "-D" OU = ABC Group, OU = ABC User, DC = Domain Name, DC = ORG "- A User Distant Encant Password   

Running with the privileges of both session administrators I am a powerless newbie, and for my life, I can not understand it.

Thank you!

I can see two possible issues. The first thing is that it separates your username and password. Or as Adi Inbar has suggested: You have some special characters that are causing problems. D engages things in the same quote so that arguments are passed as required by AR, and indeed taken

  c: \ csvde.exe -s 'domain.company.org' - F 'ExportFile.csv' -l 'given, SI, IPhone, title, department, company, physical distribution office office, mail' D 'OU = ABC group, OU = ABC user, DC = domain name, DC = ORG' -a 'user distributed name' 'password'   

Check that it does not solve the problem. In my experience, which is usually a safe way to run executables from PowerShell, I think alternatively you can assign them to the variable, and then you can pass them on. domain.company.org $ $ outfile = 'ExportFile.csv' $ attributes = 'givenName, sn, iphone, title, department, company, physical deliveryoffiname, mail' $ SearchRoot = 'OU = ABC Group, OU = ABC User, DC = Domain Name, DC = ORG' $ UserID = 'CN = TMTech, OU = User, DC = Something, DC = Company, DC = ORG' $ password = ' P @ $ $ w0rd 'CSVDE.axa-s $ server-f $ outfile-l dollar attributes- $$ searchRoot - a $ user id $ password

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -