Hi,
i'm trying to retrieve some information using powershell
When i use the following command
run ("Powershell.exe Get-SmbServerConfiguration", "", @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD)
from a 32 bits compiled executable it invokes c:windowssyswow64WindowsPowerShellv1.0powershell.exe.
The 32 bits redirected powershell does not support the cmdlet Get-SmbServerConfiguration
Is it possible force executing the 64 bits version of powershell with Wow64FsRedirection ? I tried the following
Local $stOldVal = DllStructCreate("dword"%3