Why is UiPath using PowerShell x86 and how to change it to use 64-Bit?

I understand you want to use the 64-bit version of Powershell when using “Invoke PowerShell” activity. This is possible when you switch from “Windows Legacy” to “Windows” compatibility.

Please see the below screenshot for reference:

Please follow the steps in How can I change targetFramework back to Windows-legacy? - #7 by grosner to change the compatibility.

Also, please note this option is available from Studio version 2021.10

Let us know if this helped.

1 Like