i need to start a 64bit Powershell from a 32bit process.
Normally i would use this statement to achieve this:
%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -Command "& 'ThatScriptThatNeeds64Bit.ps1'"
At least that is what i would normally do.
On that "Microsoft Windows Server 2012 R2 Essentials" Server on which I am working right now the sysnative folder / redirection is missing.
I have tried two options:
In the context of my 32bit application both calls start a 32bit powershell process. (Tested using [Environment]::Is64BitProcess.) Thus i cannot access the 64bit Powershell Module that I need to access.
Can I like install that sysnative Folder somehow? Or does someone have an idea how to get that 64bit process started?
Thank you very much,