Copy link to clipboard
Copied
<cfexecute name="c:\windows\system32\dsquery.exe" arguments="user -samid pstest | dsmod user -mustchpwd yes" timeout="10" outputFile = "C:\AD-mustchange-output.txt"/>
That's what I'm trying to run...it seems that it may not like the | (pipe). Any ideas on how to fix this? Maybe run as two commands?
Thanks
Copy link to clipboard
Copied
If you send your arguments exactly the way the manual prescribes you will have more success.
Copy link to clipboard
Copied
If you want to be an asshole, please choose another post. That was about as useless post as it gets, if I knew exactly what I was doing I wouldn't posting. I bet its tough for your coworkers to be around someone who knows everything.