{"action":"created","issue":{"url":"https://api.github.com/repos/SharpeRAD/Cake.Services/issues/16","repository_url":"https://api.github.com/repos/SharpeRAD/Cake.Services","labels_url":"https://api.github.com/repos/SharpeRAD/Cake.Services/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/SharpeRAD/Cake.Services/issues/16/comments","events_url":"https://api.github.com/repos/SharpeRAD/Cake.Services/issues/16/events","html_url":"https://github.com/SharpeRAD/Cake.Services/issues/16","id":269575772,"number":16,"title":"Operations on Service with name containing '$' character fail","user":{"login":"wojciechrak","id":3034230,"avatar_url":"https://avatars2.githubusercontent.com/u/3034230?v=4","gravatar_id":"","url":"https://api.github.com/users/wojciechrak","html_url":"https://github.com/wojciechrak","followers_url":"https://api.github.com/users/wojciechrak/followers","following_url":"https://api.github.com/users/wojciechrak/following{/other_user}","gists_url":"https://api.github.com/users/wojciechrak/gists{/gist_id}","starred_url":"https://api.github.com/users/wojciechrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojciechrak/subscriptions","organizations_url":"https://api.github.com/users/wojciechrak/orgs","repos_url":"https://api.github.com/users/wojciechrak/repos","events_url":"https://api.github.com/users/wojciechrak/events{/privacy}","received_events_url":"https://api.github.com/users/wojciechrak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-30T12:05:34Z","updated_at":"2017-10-30T19:29:22Z","closed_at":"2017-10-30T19:29:22Z","author_association":"NONE","body":"I have a service, whose name contains dollar sign `$`.\r\nThat's because it's Topshelf service with named instance, so convention there is `ServiceName$Instance`.\r\n\r\nTherefore operating on service using e.g. `StopService()` is impossible, because it's using quoted arguments, which in powershell are evaluated during execution.\r\n\r\nSo `sc.exe stop MyService$InstanceA` in powershell would be evaluated to `sc.exe stop MyService`;\r\nEvaluation can be prevented using single quotes, or StringLiteralArgument."},"comment":{"url":"https://api.github.com/repos/SharpeRAD/Cake.Services/issues/comments/340557754","html_url":"https://github.com/SharpeRAD/Cake.Services/issues/16#issuecomment-340557754","issue_url":"https://api.github.com/repos/SharpeRAD/Cake.Services/issues/16","id":340557754,"user":{"login":"SharpeRAD","id":1775976,"avatar_url":"https://avatars0.githubusercontent.com/u/1775976?v=4","gravatar_id":"","url":"https://api.github.com/users/SharpeRAD","html_url":"https://github.com/SharpeRAD","followers_url":"https://api.github.com/users/SharpeRAD/followers","following_url":"https://api.github.com/users/SharpeRAD/following{/other_user}","gists_url":"https://api.github.com/users/SharpeRAD/gists{/gist_id}","starred_url":"https://api.github.com/users/SharpeRAD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SharpeRAD/subscriptions","organizations_url":"https://api.github.com/users/SharpeRAD/orgs","repos_url":"https://api.github.com/users/SharpeRAD/repos","events_url":"https://api.github.com/users/SharpeRAD/events{/privacy}","received_events_url":"https://api.github.com/users/SharpeRAD/received_events","type":"User","site_admin":false},"created_at":"2017-10-30T19:29:22Z","updated_at":"2017-10-30T19:29:22Z","author_association":"OWNER","body":"Sorry but this addin uses _System.ServiceProcess.ServiceController_ to start / stop services, not Powershell..."}}
{"actor":{"display_login":"SharpeRAD"}}