{"action":"created","issue":{"url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin/issues/42","repository_url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin","labels_url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin/issues/42/comments","events_url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin/issues/42/events","html_url":"https://github.com/NetDocuments/rd-winrm-plugin/issues/42","id":219336470,"number":42,"title":"Feature request : Add winrm-elevated","user":{"login":"FireHelmet","id":17533298,"avatar_url":"https://avatars2.githubusercontent.com/u/17533298?v=4","gravatar_id":"","url":"https://api.github.com/users/FireHelmet","html_url":"https://github.com/FireHelmet","followers_url":"https://api.github.com/users/FireHelmet/followers","following_url":"https://api.github.com/users/FireHelmet/following{/other_user}","gists_url":"https://api.github.com/users/FireHelmet/gists{/gist_id}","starred_url":"https://api.github.com/users/FireHelmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FireHelmet/subscriptions","organizations_url":"https://api.github.com/users/FireHelmet/orgs","repos_url":"https://api.github.com/users/FireHelmet/repos","events_url":"https://api.github.com/users/FireHelmet/events{/privacy}","received_events_url":"https://api.github.com/users/FireHelmet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-04-04T18:10:47Z","updated_at":"2017-11-15T02:29:43Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nIs it possible to add winrm-elevated from https://github.com/WinRb/winrm-elevated ?\r\n\r\nThe goal is : This gem allows you to break out of the magical WinRM constraints thus allowing to reach out to network shares and even install Windows updates, .NET, SQL Server etc.\r\n\r\nThank you !"},"comment":{"url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin/issues/comments/344466575","html_url":"https://github.com/NetDocuments/rd-winrm-plugin/issues/42#issuecomment-344466575","issue_url":"https://api.github.com/repos/NetDocuments/rd-winrm-plugin/issues/42","id":344466575,"user":{"login":"JustRiedy","id":14937219,"avatar_url":"https://avatars2.githubusercontent.com/u/14937219?v=4","gravatar_id":"","url":"https://api.github.com/users/JustRiedy","html_url":"https://github.com/JustRiedy","followers_url":"https://api.github.com/users/JustRiedy/followers","following_url":"https://api.github.com/users/JustRiedy/following{/other_user}","gists_url":"https://api.github.com/users/JustRiedy/gists{/gist_id}","starred_url":"https://api.github.com/users/JustRiedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustRiedy/subscriptions","organizations_url":"https://api.github.com/users/JustRiedy/orgs","repos_url":"https://api.github.com/users/JustRiedy/repos","events_url":"https://api.github.com/users/JustRiedy/events{/privacy}","received_events_url":"https://api.github.com/users/JustRiedy/received_events","type":"User","site_admin":false},"created_at":"2017-11-15T02:29:43Z","updated_at":"2017-11-15T02:29:43Z","author_association":"CONTRIBUTOR","body":"Can confirm, same error.\r\n\r\nI've never noticed the issue as I always manually open, authenticate and close connections to shares, due to the complex nature of the network I am on.\r\n\r\n```powershell\r\nWrite-Host \"Connecting to shared location\"\r\nnet use \\\\SERVER.DOMAIN\\IPC$ PASSWORD /USER:DOMAIN\\USERNAME | Out-Null\r\n\r\n$source = \"C:\\Temp\"\r\n$destination = \"\\\\SERVER.DOMAIN\\C$\\DATA\"\r\n\r\nIf(-Not (Test-Path $destination)){\r\n    New-Item -Path $destination -ItemType Directory | Out-Null\r\n}\r\n\r\ntry{\r\n    #Find all files and move them to shared location\r\n    Write-Host \"Starting Copy\"\r\n    Get-ChildItem $source -Recurse | Move-Item -Destination $destination\r\n    Write-Host \"Copy complete.\"\r\n}\r\ncatch{\r\n    Write-Host \"Copy of item failed.\"\r\n}\r\n\r\nnet use \\\\SERVER.DOMAIN\\IPC$ /delete | Out-Null\r\n```\r\n\r\nAs I have no need for this plugin change I won't be able to get time to work on it at the moment.\r\n\r\nIt is an interesting option to have though, and I can't see any reason not to add it as an extra shell type called Powershell Elevated or something.\r\n\r\nIf you're feeling brave Ruby's not a terrible language to play with, otherwise feel free to steal my share connection method till this change can be made in the future."}}
{"actor":{"display_login":"JustRiedy"}}