Skip to content

Issues running WMI4Java with jPowershell as engine #15

@nicolastrres

Description

@nicolastrres

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions