That is actually handled by the following:
action uses wow64 redirection {not x64 of operating system}
If you don’t use that line, then it will always use 32bit powershell. If you use that line, then it will use 32bit powershell on 32bit systems and 64bit powershell on 64bit systems. You just have to comment out that line if you need it to always use 32bit powershell.