{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/91136246","pull_request_review_id":11645629,"id":91136246,"diff_hunk":"@@ -156,15 +156,16 @@ protected override void BeginProcessing()\n             // Determine the OS version: this cmdlet requires Windows 7\n             // because it uses new Pdh functionality.\n             //\n-            if (System.Environment.OSVersion.Version.Major < 6 ||\n-                (System.Environment.OSVersion.Version.Major == 6 && System.Environment.OSVersion.Version.Minor < 1))\n+            Version osVersion = CommonUtilities.OsVersion;\n+            if (osVersion.Major < 6 ||\n+                (osVersion.Major == 6 && osVersion.Minor < 1))\n             {\n                 string msg = _resourceMgr.GetString(\"ExportCtrWin7Required\");","path":"src/Microsoft.PowerShell.Commands.Diagnostics/ExportCounterCommand.cs","position":10,"original_position":10,"commit_id":"0f7716a9c6f9e0806f23a501d83ef31203a879ec","original_commit_id":"69e0a95cbd3aa742cbb690523d7218dbc47432b6","user":{"login":"mirichmo","id":12738734,"avatar_url":"https://avatars.githubusercontent.com/u/12738734?v=3","gravatar_id":"","url":"https://api.github.com/users/mirichmo","html_url":"https://github.com/mirichmo","followers_url":"https://api.github.com/users/mirichmo/followers","following_url":"https://api.github.com/users/mirichmo/following{/other_user}","gists_url":"https://api.github.com/users/mirichmo/gists{/gist_id}","starred_url":"https://api.github.com/users/mirichmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirichmo/subscriptions","organizations_url":"https://api.github.com/users/mirichmo/orgs","repos_url":"https://api.github.com/users/mirichmo/repos","events_url":"https://api.github.com/users/mirichmo/events{/privacy}","received_events_url":"https://api.github.com/users/mirichmo/received_events","type":"User","site_admin":false},"body":"PowerShell Core runs on Win 7 and above","created_at":"2016-12-06T18:07:03Z","updated_at":"2016-12-06T18:07:03Z","html_url":"https://github.com/PowerShell/PowerShell/pull/2605#discussion_r91136246","pull_request_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments/91136246"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/2605#discussion_r91136246"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605"}}},"pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605","id":92253388,"html_url":"https://github.com/PowerShell/PowerShell/pull/2605","diff_url":"https://github.com/PowerShell/PowerShell/pull/2605.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/2605.patch","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/2605","number":2605,"state":"open","locked":false,"title":"Implement performance-counter cmdlets for Windows CoreCLR","user":{"login":"jeffbi","id":6708868,"avatar_url":"https://avatars.githubusercontent.com/u/6708868?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffbi","html_url":"https://github.com/jeffbi","followers_url":"https://api.github.com/users/jeffbi/followers","following_url":"https://api.github.com/users/jeffbi/following{/other_user}","gists_url":"https://api.github.com/users/jeffbi/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffbi/subscriptions","organizations_url":"https://api.github.com/users/jeffbi/orgs","repos_url":"https://api.github.com/users/jeffbi/repos","events_url":"https://api.github.com/users/jeffbi/events{/privacy}","received_events_url":"https://api.github.com/users/jeffbi/received_events","type":"User","site_admin":false},"body":"This is a PR to provide code for review","created_at":"2016-11-03T22:31:45Z","updated_at":"2016-12-06T18:57:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73b9c70ac79e55f7036e019d8d246e1aace07b5a","assignee":{"login":"Francisco-Gamino","id":12720858,"avatar_url":"https://avatars.githubusercontent.com/u/12720858?v=3","gravatar_id":"","url":"https://api.github.com/users/Francisco-Gamino","html_url":"https://github.com/Francisco-Gamino","followers_url":"https://api.github.com/users/Francisco-Gamino/followers","following_url":"https://api.github.com/users/Francisco-Gamino/following{/other_user}","gists_url":"https://api.github.com/users/Francisco-Gamino/gists{/gist_id}","starred_url":"https://api.github.com/users/Francisco-Gamino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francisco-Gamino/subscriptions","organizations_url":"https://api.github.com/users/Francisco-Gamino/orgs","repos_url":"https://api.github.com/users/Francisco-Gamino/repos","events_url":"https://api.github.com/users/Francisco-Gamino/events{/privacy}","received_events_url":"https://api.github.com/users/Francisco-Gamino/received_events","type":"User","site_admin":false},"assignees":[{"login":"Francisco-Gamino","id":12720858,"avatar_url":"https://avatars.githubusercontent.com/u/12720858?v=3","gravatar_id":"","url":"https://api.github.com/users/Francisco-Gamino","html_url":"https://github.com/Francisco-Gamino","followers_url":"https://api.github.com/users/Francisco-Gamino/followers","following_url":"https://api.github.com/users/Francisco-Gamino/following{/other_user}","gists_url":"https://api.github.com/users/Francisco-Gamino/gists{/gist_id}","starred_url":"https://api.github.com/users/Francisco-Gamino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francisco-Gamino/subscriptions","organizations_url":"https://api.github.com/users/Francisco-Gamino/orgs","repos_url":"https://api.github.com/users/Francisco-Gamino/repos","events_url":"https://api.github.com/users/Francisco-Gamino/events{/privacy}","received_events_url":"https://api.github.com/users/Francisco-Gamino/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605/commits","review_comments_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605/comments","review_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/2605/comments","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/0f7716a9c6f9e0806f23a501d83ef31203a879ec","head":{"label":"jeffbi:perf-counters","ref":"perf-counters","sha":"0f7716a9c6f9e0806f23a501d83ef31203a879ec","user":{"login":"jeffbi","id":6708868,"avatar_url":"https://avatars.githubusercontent.com/u/6708868?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffbi","html_url":"https://github.com/jeffbi","followers_url":"https://api.github.com/users/jeffbi/followers","following_url":"https://api.github.com/users/jeffbi/following{/other_user}","gists_url":"https://api.github.com/users/jeffbi/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffbi/subscriptions","organizations_url":"https://api.github.com/users/jeffbi/orgs","repos_url":"https://api.github.com/users/jeffbi/repos","events_url":"https://api.github.com/users/jeffbi/events{/privacy}","received_events_url":"https://api.github.com/users/jeffbi/received_events","type":"User","site_admin":false},"repo":{"id":71936090,"name":"PowerShell","full_name":"jeffbi/PowerShell","owner":{"login":"jeffbi","id":6708868,"avatar_url":"https://avatars.githubusercontent.com/u/6708868?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffbi","html_url":"https://github.com/jeffbi","followers_url":"https://api.github.com/users/jeffbi/followers","following_url":"https://api.github.com/users/jeffbi/following{/other_user}","gists_url":"https://api.github.com/users/jeffbi/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffbi/subscriptions","organizations_url":"https://api.github.com/users/jeffbi/orgs","repos_url":"https://api.github.com/users/jeffbi/repos","events_url":"https://api.github.com/users/jeffbi/events{/privacy}","received_events_url":"https://api.github.com/users/jeffbi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffbi/PowerShell","description":"PowerShell for every system!","fork":true,"url":"https://api.github.com/repos/jeffbi/PowerShell","forks_url":"https://api.github.com/repos/jeffbi/PowerShell/forks","keys_url":"https://api.github.com/repos/jeffbi/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffbi/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffbi/PowerShell/teams","hooks_url":"https://api.github.com/repos/jeffbi/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/jeffbi/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/jeffbi/PowerShell/events","assignees_url":"https://api.github.com/repos/jeffbi/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/jeffbi/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/jeffbi/PowerShell/tags","blobs_url":"https://api.github.com/repos/jeffbi/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffbi/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffbi/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffbi/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffbi/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffbi/PowerShell/languages","stargazers_url":"https://api.github.com/repos/jeffbi/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/jeffbi/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/jeffbi/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/jeffbi/PowerShell/subscription","commits_url":"https://api.github.com/repos/jeffbi/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffbi/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffbi/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffbi/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffbi/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/jeffbi/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffbi/PowerShell/merges","archive_url":"https://api.github.com/repos/jeffbi/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffbi/PowerShell/downloads","issues_url":"https://api.github.com/repos/jeffbi/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/jeffbi/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffbi/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffbi/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffbi/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/jeffbi/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/jeffbi/PowerShell/deployments","created_at":"2016-10-25T20:27:15Z","updated_at":"2016-10-25T20:27:24Z","pushed_at":"2016-12-03T00:10:25Z","git_url":"git://github.com/jeffbi/PowerShell.git","ssh_url":"git@github.com:jeffbi/PowerShell.git","clone_url":"https://github.com/jeffbi/PowerShell.git","svn_url":"https://github.com/jeffbi/PowerShell","homepage":"https://microsoft.com/powershell","size":20085,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerShell:master","ref":"master","sha":"28f32cabe6aff0a731f53a9444ec2b645c11aeb2","user":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"repo":{"id":49609581,"name":"PowerShell","full_name":"PowerShell/PowerShell","owner":{"login":"PowerShell","id":11524380,"avatar_url":"https://avatars.githubusercontent.com/u/11524380?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerShell","html_url":"https://github.com/PowerShell","followers_url":"https://api.github.com/users/PowerShell/followers","following_url":"https://api.github.com/users/PowerShell/following{/other_user}","gists_url":"https://api.github.com/users/PowerShell/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerShell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerShell/subscriptions","organizations_url":"https://api.github.com/users/PowerShell/orgs","repos_url":"https://api.github.com/users/PowerShell/repos","events_url":"https://api.github.com/users/PowerShell/events{/privacy}","received_events_url":"https://api.github.com/users/PowerShell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerShell/PowerShell","description":"PowerShell for every system!","fork":false,"url":"https://api.github.com/repos/PowerShell/PowerShell","forks_url":"https://api.github.com/repos/PowerShell/PowerShell/forks","keys_url":"https://api.github.com/repos/PowerShell/PowerShell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/PowerShell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/PowerShell/teams","hooks_url":"https://api.github.com/repos/PowerShell/PowerShell/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/PowerShell/events","assignees_url":"https://api.github.com/repos/PowerShell/PowerShell/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/PowerShell/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/PowerShell/tags","blobs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/PowerShell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/PowerShell/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/PowerShell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/PowerShell/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/PowerShell/languages","stargazers_url":"https://api.github.com/repos/PowerShell/PowerShell/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/PowerShell/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/PowerShell/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/PowerShell/subscription","commits_url":"https://api.github.com/repos/PowerShell/PowerShell/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/PowerShell/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/PowerShell/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/PowerShell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/PowerShell/merges","archive_url":"https://api.github.com/repos/PowerShell/PowerShell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/PowerShell/downloads","issues_url":"https://api.github.com/repos/PowerShell/PowerShell/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/PowerShell/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/PowerShell/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/PowerShell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/PowerShell/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/PowerShell/deployments","created_at":"2016-01-13T23:41:35Z","updated_at":"2016-12-06T18:15:25Z","pushed_at":"2016-12-06T18:15:13Z","git_url":"git://github.com/PowerShell/PowerShell.git","ssh_url":"git@github.com:PowerShell/PowerShell.git","clone_url":"https://github.com/PowerShell/PowerShell.git","svn_url":"https://github.com/PowerShell/PowerShell","homepage":"https://microsoft.com/powershell","size":36898,"stargazers_count":5703,"watchers_count":5703,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":674,"mirror_url":null,"open_issues_count":538,"forks":674,"open_issues":538,"watchers":5703,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605"},"html":{"href":"https://github.com/PowerShell/PowerShell/pull/2605"},"issue":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/2605"},"comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/issues/2605/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/PowerShell/pulls/2605/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/PowerShell/statuses/0f7716a9c6f9e0806f23a501d83ef31203a879ec"}}}}
{"actor":{"display_login":"mirichmo"}}