Issues running WMI4Java with jPowershell as engine
Hello, I am getting some issues while using WMI4Java with jPowershell as the engine on Windows 10.
When I try to execute this WMI4Java.get().getRawWMIObjectOutput("Win32_NetworkAdapterConfiguration") the response is flaky and very slow, sometimes it returns the list of my network adapters and sometimes it returns an empty string.
However, when I execute the same code using VBScript engine, I get the correct results and much faster than when using jPowershell.
I was wondering what is the difference between both and when is recommended to use one vs the other?
config.put("maxWait", "20000"); Is Hard coded in WMIPowershell, looks Some machines are responding little slow, is there an api when I can pass the config?