I'm trying to get into Powershell Workflows, however I get the following error if I attempt to use the "workflow" keyword:
Windows PowerShell Workflow is not supported in a Windows PowerShell x86-based console. Open a Windows PowerShell x64-based console, and then try again.
Common sense would tell you to open the 64bit version:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0
It doesn't seem to matter which version of powershell I open, I get the same message.
$env:Processor_Architecture always returns x86
I've tried this on both my laptops (1st Win7, 2nd Win8) and they both behave the same
$env:PROCESSOR_IDENTIFIER :
1st PC: Intel64 Family 6 Model 37 Stepping 2, GenuineIntel
2nd PC: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
Am I just missing something simple?
When you run Windows PowerShell, the 64-bit version runs by default. However, you might occasionally need to run Windows PowerShell (x86), such as when you're using a module that requires the 32-bit version or when you're connecting remotely to a 32-bit computer.
Running the 64-bit PowerShell (C:\Windows\System32\WindowsPowerShell\v1. 0\powershell.exe) by Execute Command results in the application running in 32-bit mode.
Windows PowerShell comes installed by default in every Windows, starting with Windows 7 SP1 and Windows Server 2008 R2 SP1. If you are interested in PowerShell 7 and later, you need to install PowerShell instead of Windows PowerShell.
NET Framework requirements. Windows PowerShell 5.1 requires the full installation of Microsoft . NET Framework 4.5 or higher.
The version in SysWOW64 is the 32-bit version. WOW64 is the 32-bit emulator on 64-bit Windows (WoW means "Windows on Windows"). You need to run the version from system32, which is the 64-bit version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With