CommandTaskRunner
CommandTaskRunner copied to clipboard
Run Commands with Powershell bitness
I noticed that when I run a powershell command, it automatically runs as x86. Is there a way to force task runner to use 64bit instead? I've tried a few things, but nothing seems to be working.
I had the same problem and solved it with help of: stackoverflow how-to-launch-64-bit-powershell-from-32-bit
In your commands.json replace
"powershell.exe"
with
"C:\\Windows\\SysNative\\WindowsPowerShell\\v1.0\\powershell.exe"
that's all
Thanks @RobertMeh, I ended up doing the same thing with SysNative. Thanks for putting a solution here because I forgot to go back and update this.