{"action":"created","issue":{"url":"https://api.github.com/repos/Crypt32/PSPKI/issues/28","repository_url":"https://api.github.com/repos/Crypt32/PSPKI","labels_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/28/comments","events_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/28/events","html_url":"https://github.com/Crypt32/PSPKI/pull/28","id":305225744,"number":28,"title":"Update Get-EnterprisePKIHealthStatus.ps1","user":{"login":"reijoh","id":5260092,"avatar_url":"https://avatars2.githubusercontent.com/u/5260092?v=4","gravatar_id":"","url":"https://api.github.com/users/reijoh","html_url":"https://github.com/reijoh","followers_url":"https://api.github.com/users/reijoh/followers","following_url":"https://api.github.com/users/reijoh/following{/other_user}","gists_url":"https://api.github.com/users/reijoh/gists{/gist_id}","starred_url":"https://api.github.com/users/reijoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reijoh/subscriptions","organizations_url":"https://api.github.com/users/reijoh/orgs","repos_url":"https://api.github.com/users/reijoh/repos","events_url":"https://api.github.com/users/reijoh/events{/privacy}","received_events_url":"https://api.github.com/users/reijoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T16:08:13Z","updated_at":"2018-03-14T16:17:33Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Crypt32/PSPKI/pulls/28","html_url":"https://github.com/Crypt32/PSPKI/pull/28","diff_url":"https://github.com/Crypt32/PSPKI/pull/28.diff","patch_url":"https://github.com/Crypt32/PSPKI/pull/28.patch"},"body":"When I use this command on Windows Server 2016 it gives me two exceptions, both saying \"A positional parameter cannot be found that accepts argument\". The exceptions happen on line 626 and 627:\r\n\r\nLine 626: Write-Verbose (\"=\" * 20) $CA.DisplayName (\"=\" * 20)\r\nLine 627: Write-Debug (\"=\" * 20) $CA.DisplayName (\"=\" * 20)\r\n\r\nTo fix, I suggest change it to:\r\n\r\nLine 626: Write-Verbose $(('=' * 20)+' '+$CA.DisplayName+' '+('=' * 20))\r\nLine 627: Write-Debug $(('=' * 20)+' '+$CA.DisplayName+' '+('=' * 20))"},"comment":{"url":"https://api.github.com/repos/Crypt32/PSPKI/issues/comments/373081897","html_url":"https://github.com/Crypt32/PSPKI/pull/28#issuecomment-373081897","issue_url":"https://api.github.com/repos/Crypt32/PSPKI/issues/28","id":373081897,"user":{"login":"Crypt32","id":6384119,"avatar_url":"https://avatars1.githubusercontent.com/u/6384119?v=4","gravatar_id":"","url":"https://api.github.com/users/Crypt32","html_url":"https://github.com/Crypt32","followers_url":"https://api.github.com/users/Crypt32/followers","following_url":"https://api.github.com/users/Crypt32/following{/other_user}","gists_url":"https://api.github.com/users/Crypt32/gists{/gist_id}","starred_url":"https://api.github.com/users/Crypt32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crypt32/subscriptions","organizations_url":"https://api.github.com/users/Crypt32/orgs","repos_url":"https://api.github.com/users/Crypt32/repos","events_url":"https://api.github.com/users/Crypt32/events{/privacy}","received_events_url":"https://api.github.com/users/Crypt32/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T16:17:33Z","updated_at":"2018-03-14T16:17:33Z","author_association":"OWNER","body":"Must be a copy/paste issue. Though, I don't like so many quotes, I'd prefer this: \r\n```PowerShell\r\nWrite-Verbose (\"{0} {1} {0}\" -f ('=' * 20), $CA.DisplayName)\r\n<...>\r\n```\r\nCan you rewrite your edits this way?"}}
{"actor":{"display_login":"Crypt32"}}