I have a collection of win32_process objects queried from a remote machine using WMI. How do I determine whether each process is 32-bit or 64-bit?
WMI doesn't have this functionality. The solution is to test each process's Handle
using IsWow64Process
via P/Invoke. This code should help you get the idea.
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