how to open 64bit powershell console via kace scripting
I am trying to deploy a script from kace . In the script there is a work flow and every time I try, I get following error;
PS>TerminatingError(Import-Module): "Windows PowerShell Workflow is not supported in a Windows PowerShell x86-based console. Open a Windows PowerShell x64-based console, and then try again."
Thanks in advance.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
Mashby1
3 years ago
I have been down this road and I was not successful, but you could try this:
Kace agent is a 32bit binary so it invokes 32-bit powershell.
Stick this at the very top of your script to prevent this issue.
Also, check out the Kace powershell module if you haven't already.
Install-module kacesma
Posted by:
jencam
3 years ago
Posted by:
Kiyolaka
3 years ago