{"action":"created","issue":{"url":"https://api.github.com/repos/chef/knife-windows/issues/149","labels_url":"https://api.github.com/repos/chef/knife-windows/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/chef/knife-windows/issues/149/comments","events_url":"https://api.github.com/repos/chef/knife-windows/issues/149/events","html_url":"https://github.com/chef/knife-windows/pull/149","id":52511248,"number":149,"title":"Adding knife wsman test to validate WSMAN/WinRM availability","user":{"login":"smurawski","id":4006985,"avatar_url":"https://avatars.githubusercontent.com/u/4006985?v=3","gravatar_id":"","url":"https://api.github.com/users/smurawski","html_url":"https://github.com/smurawski","followers_url":"https://api.github.com/users/smurawski/followers","following_url":"https://api.github.com/users/smurawski/following{/other_user}","gists_url":"https://api.github.com/users/smurawski/gists{/gist_id}","starred_url":"https://api.github.com/users/smurawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smurawski/subscriptions","organizations_url":"https://api.github.com/users/smurawski/orgs","repos_url":"https://api.github.com/users/smurawski/repos","events_url":"https://api.github.com/users/smurawski/events{/privacy}","received_events_url":"https://api.github.com/users/smurawski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/knife-windows/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"smurawski","id":4006985,"avatar_url":"https://avatars.githubusercontent.com/u/4006985?v=3","gravatar_id":"","url":"https://api.github.com/users/smurawski","html_url":"https://github.com/smurawski","followers_url":"https://api.github.com/users/smurawski/followers","following_url":"https://api.github.com/users/smurawski/following{/other_user}","gists_url":"https://api.github.com/users/smurawski/gists{/gist_id}","starred_url":"https://api.github.com/users/smurawski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smurawski/subscriptions","organizations_url":"https://api.github.com/users/smurawski/orgs","repos_url":"https://api.github.com/users/smurawski/repos","events_url":"https://api.github.com/users/smurawski/events{/privacy}","received_events_url":"https://api.github.com/users/smurawski/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2014-12-19T18:04:54Z","updated_at":"2015-03-09T18:05:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/knife-windows/pulls/149","html_url":"https://github.com/chef/knife-windows/pull/149","diff_url":"https://github.com/chef/knife-windows/pull/149.diff","patch_url":"https://github.com/chef/knife-windows/pull/149.patch"},"body":"This adds a command \"knife wsman test\" to help verify connectivity to remote WinRM endpoints.  Currently this can be tested from Windows nodes with PowerShell, but it is more difficult to validate connectivity cross platform.  This command will validate that the remote port is reachable and listening for management requests similar to Test-Wsman in PowerShell. \r\n\r\nTargets can be specified manually (as per the knife winrm command) or use search to identify target nodes."},"comment":{"url":"https://api.github.com/repos/chef/knife-windows/issues/comments/77908641","html_url":"https://github.com/chef/knife-windows/pull/149#issuecomment-77908641","issue_url":"https://api.github.com/repos/chef/knife-windows/issues/149","id":77908641,"user":{"login":"btm","id":4381,"avatar_url":"https://avatars.githubusercontent.com/u/4381?v=3","gravatar_id":"","url":"https://api.github.com/users/btm","html_url":"https://github.com/btm","followers_url":"https://api.github.com/users/btm/followers","following_url":"https://api.github.com/users/btm/following{/other_user}","gists_url":"https://api.github.com/users/btm/gists{/gist_id}","starred_url":"https://api.github.com/users/btm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btm/subscriptions","organizations_url":"https://api.github.com/users/btm/orgs","repos_url":"https://api.github.com/users/btm/repos","events_url":"https://api.github.com/users/btm/events{/privacy}","received_events_url":"https://api.github.com/users/btm/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T18:05:34Z","updated_at":"2015-03-09T18:05:34Z","body":"It looks like for knife ssh we return the largest exit code in the case of multiple nodes (https://github.com/chef/chef/commit/2fbdf2b2).\r\n\r\nYeah, I'd say we return an error if anything failed for multiple nodes.\r\n\r\n"}}