cancel
Showing results for 
Search instead for 
Did you mean: 

Run command

SOLVED
Highlighted
jeffv
Asteroid

Run command

All,

 

I have a batch file that runs the following command:

 

"C:\Users\mydir\Documents\MyApps\adfind\adfind.exe" -b dc=northgrum,dc=com -f "(&(objectCategory=person)(objectClass=user))" cn name givenName initials sn extensionAttribute6 extensionAttribute2 streetaddress l st physicaldeliveryofficename co c postalcode telephonenumber ngcBuildingId ngcMailDrop company department mail ngcmanagerid extensionAttribute1 extensionAttribute4 extensionAttribute13 displayname ngcstartdate ngcGroup ngcSegment useraccountcontrol whenCreated -samdc -tdca -tdcfmt %%MM%%/%%DD%%/%%YYYY%% -utc -nodn -csv >e:\reports\AnalyticsInput\adexport.csv

 

I've trying to get the run command to run the adfind exe but am having difficulties. I get an error saying the parameter is incorrect.

 

Any ideas?

 

Jeff

 

2018-12-18_11-05-30.png

3 REPLIES 3
Highlighted
jeffv
Asteroid

Run command

All,

 

I have a batch file that runs the following command:

 

"C:\Users\mydir\Documents\MyApps\adfind\adfind.exe" -b dc=northgrum,dc=com -f "(&(objectCategory=person)(objectClass=user))" cn name givenName initials sn extensionAttribute6 extensionAttribute2 streetaddress l st physicaldeliveryofficename co c postalcode telephonenumber ngcBuildingId ngcMailDrop company department mail ngcmanagerid extensionAttribute1 extensionAttribute4 extensionAttribute13 displayname ngcstartdate ngcGroup ngcSegment useraccountcontrol whenCreated -samdc -tdca -tdcfmt %%MM%%/%%DD%%/%%YYYY%% -utc -nodn -csv >e:\reports\AnalyticsInput\adexport.csv

 

I've trying to get the run command to run the adfind exe but am having difficulties. I get an error saying the parameter is incorrect.

 

Any ideas?

 

Jeff

 

2018-12-18_11-05-30.png

WillBowman
Comet

Re: Run command

If your batch runs normally, just execute the .bat file from cmd in Alteryx. Good luck!

 

Like this Capture.PNG

Re: Run command

Sometimes I make this too hard.   Thanks!

Re: Run command

can you share your alteryx solution .yxmd, i have the same problem.

thanks in advance