In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Event -Run Command -Error Code :1 Cannot find file

Zaruba_6
6 - Meteoroid

I have a very simple powershell script that updates a SharePoint connected Excel list and would like to run the refresh command prior to kicking off my workflow. 

 

I have the PS1 script and Excel files stored locally to my C: drive and the powershell command window opens but I continue to get the following error.  

 

Error: Designer x64: The Designer x64 reported: Error running Event #1: The external program "powershell.exe" returned an error code: 1: The system cannot find the file specified. (2)

Any suggestions?

Zaruba_6_0-1633012393217.png

 

2 REPLIES 2
mceleavey
17 - Castor
17 - Castor

Hi @Zaruba_6 ,

 

Ouch. that Excel hell sounds awful. You can cut Excel out of that entire process...

 

Anyway...

 

Try removing the .exe for Powershell in the command tool:

mceleavey_0-1633014550222.png

 

Hope that helps,

 

M.

 

 



Bulien

Zaruba_6
6 - Meteoroid

@mceleavey

 

Unfortunately I am getting the same error.  Seems to be an issue with PowerShell finding the file to update.  Trust me if I could avoid the Excel route I would but do to some system constraints around SharePoint online I am married to the solution.

 

Oddly enough the script runs great using task manager but, I was hoping to integrate in the workflow so when I can eventually schedule I only have one process to manage.

 

Thanks

Labels
Top Solution Authors