Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WMI: Iterate over result with unknown columnset #14

Open
thmoeller opened this issue Aug 22, 2014 · 0 comments
Open

WMI: Iterate over result with unknown columnset #14

thmoeller opened this issue Aug 22, 2014 · 0 comments

Comments

@thmoeller
Copy link

Hi,

i ty to use win32ole for wmi. I have som difficulties because in the samples the resulting rows are known. But, how can i iterate over a result, and print the values, when i do not know the resulting columns in advance??

For example with a loop like this:

for (var m in wmires){
    for (var i=0;i<wmires[m].length;i++){
    console.log(wmires[m][i]);
    }
 }

But this produces some kind of conversion issues with V8Variant, which i do not understand.

Can you provide an example??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant