PowerShell script not working

Hey Guys

im trying to use this power shell script to convert an xlsx to xml then this xml to Rare but i got this error, i will be grateful if anyone can help me.


the script


Are you passing the values properly?

And did you try this in cmd?

Check an example


If the Import-Excel cmdlet is working in your local powershell.exe and not in Studio, than the issue is with not selecting the correct Powershell version in Invoke Powershell activity.

Check this post Uipath - Invoke Powershell as Administrator using Batch File - #3 by marian.platonov

1 Like