{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/razor-server/issues/275","labels_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/275/comments","events_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/275/events","html_url":"https://github.com/puppetlabs/razor-server/pull/275","id":55234846,"number":275,"title":"Run Windows broker in RunOnce","user":{"login":"smcclellan","id":6577757,"avatar_url":"https://avatars.githubusercontent.com/u/6577757?v=3","gravatar_id":"","url":"https://api.github.com/users/smcclellan","html_url":"https://github.com/smcclellan","followers_url":"https://api.github.com/users/smcclellan/followers","following_url":"https://api.github.com/users/smcclellan/following{/other_user}","gists_url":"https://api.github.com/users/smcclellan/gists{/gist_id}","starred_url":"https://api.github.com/users/smcclellan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcclellan/subscriptions","organizations_url":"https://api.github.com/users/smcclellan/orgs","repos_url":"https://api.github.com/users/smcclellan/repos","events_url":"https://api.github.com/users/smcclellan/events{/privacy}","received_events_url":"https://api.github.com/users/smcclellan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-23T01:44:25Z","updated_at":"2015-01-26T23:13:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/razor-server/pulls/275","html_url":"https://github.com/puppetlabs/razor-server/pull/275","diff_url":"https://github.com/puppetlabs/razor-server/pull/275.diff","patch_url":"https://github.com/puppetlabs/razor-server/pull/275.patch"},"body":"The previous method of creating a service was not saving\r\nthe broker script in an accessible location. This method\r\ninstead stores a script in the RunOnce key that will do\r\nboth the download and the execution.\r\n\r\nFixes https://tickets.puppetlabs.com/browse/RAZOR-471"},"comment":{"url":"https://api.github.com/repos/puppetlabs/razor-server/issues/comments/71558795","html_url":"https://github.com/puppetlabs/razor-server/pull/275#issuecomment-71558795","issue_url":"https://api.github.com/repos/puppetlabs/razor-server/issues/275","id":71558795,"user":{"login":"nickperry","id":159528,"avatar_url":"https://avatars.githubusercontent.com/u/159528?v=3","gravatar_id":"","url":"https://api.github.com/users/nickperry","html_url":"https://github.com/nickperry","followers_url":"https://api.github.com/users/nickperry/followers","following_url":"https://api.github.com/users/nickperry/following{/other_user}","gists_url":"https://api.github.com/users/nickperry/gists{/gist_id}","starred_url":"https://api.github.com/users/nickperry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickperry/subscriptions","organizations_url":"https://api.github.com/users/nickperry/orgs","repos_url":"https://api.github.com/users/nickperry/repos","events_url":"https://api.github.com/users/nickperry/events{/privacy}","received_events_url":"https://api.github.com/users/nickperry/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T23:13:09Z","updated_at":"2015-01-26T23:13:09Z","body":"Great. I guess either do it all manually with New-Item to create the key and then a few New-ItemPropertys or you could define the service on your dev machine, export its key to a .reg file and get second-stage.ps1 to write out something similar (with an updated path) which can then be imported into the offline SYSTEM hive using reg import."}}