{"action":"closed","issue":{"url":"https://api.github.com/repos/WinRb/WinRM/issues/168","repository_url":"https://api.github.com/repos/WinRb/WinRM","labels_url":"https://api.github.com/repos/WinRb/WinRM/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/WinRb/WinRM/issues/168/comments","events_url":"https://api.github.com/repos/WinRb/WinRM/issues/168/events","html_url":"https://github.com/WinRb/WinRM/issues/168","id":124006774,"number":168,"title":"run_wql returns only one row","user":{"login":"terra-nova","id":16338849,"avatar_url":"https://avatars0.githubusercontent.com/u/16338849?v=3","gravatar_id":"","url":"https://api.github.com/users/terra-nova","html_url":"https://github.com/terra-nova","followers_url":"https://api.github.com/users/terra-nova/followers","following_url":"https://api.github.com/users/terra-nova/following{/other_user}","gists_url":"https://api.github.com/users/terra-nova/gists{/gist_id}","starred_url":"https://api.github.com/users/terra-nova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terra-nova/subscriptions","organizations_url":"https://api.github.com/users/terra-nova/orgs","repos_url":"https://api.github.com/users/terra-nova/repos","events_url":"https://api.github.com/users/terra-nova/events{/privacy}","received_events_url":"https://api.github.com/users/terra-nova/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-12-28T02:01:05Z","updated_at":"2017-04-04T19:19:44Z","closed_at":"2017-04-04T19:19:44Z","body":"gem 1.4.0 on CentOS 7 x64. I am trying to run WMI queries against a Windows 10 target system.\n\n```\nIdentifyResponse\n    ProtocolVersion = http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd\n    ProductVendor = Microsoft Corporation\n    ProductVersion = OS: 10.0.10240 SP: 0.0 Stack: 3.0\n```\n\nWhen running WMI queries like \"select \\* from Win32_Process\" or \"select \\* from Win32_Volume\" that would normally produce a result set of multiple rows, I only get a response with a single row (e.g. information on one process or one volume, but not on all).\n\n```\nsvc = WinRM::WinRMWebService.new(\n    'http://10.0.0.1:5985/wsman',\n    :plaintext,\n    :user => \"foo\",\n    :pass => \"bar\",\n    :disable_sspi => true,\n)\nresults = svc.run_wql('select * from Win32_Process')\np results\n```\n\nResult:\n\n```\n{:win32_process=>[{:caption=>\"System Idle Process\", ...}]}\n```\n\nLooks like the enumeration of processes comes to an end after the first element?!\n"}}
{"actor":{"display_login":"mwrock"}}