{"action":"created","comment":{"url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/comments/56452006","id":56452006,"diff_hunk":"@@ -0,0 +1,78 @@\n+function Get-TargetResource\n+{\n+    [CmdletBinding()]\n+    [OutputType([System.Collections.Hashtable])]\n+    param\n+    (\n+        [parameter(Mandatory = $true)]  [System.String] $Name,\n+        [parameter(Mandatory = $true)]  [System.String] $ApplicationPool,\n+        [parameter(Mandatory = $false)] [System.Management.Automation.PSCredential] $InstallAccount\n+    )\n+\n+        Write-Verbose -Message \"Getting Excel Services service app '$Name'\"\n+\n+        $result = Invoke-xSharePointCommand -Credential $InstallAccount -Arguments $PSBoundParameters -ScriptBlock {\n+        $params = $args[0]\n+        \n+        $serviceApps = Get-SPServiceApplication -Name $params.Name -ErrorAction SilentlyContinue \n+        if ($null -eq $serviceApps) { \n+            return $null \n+        }\n+        $serviceApp = $serviceApps | Where-Object { $_.TypeName -eq \"Excel Services Application\" }\n+\n+        If ($null -eq $serviceApp) { \n+            return $null \n+        } else {\n+            $returnVal =  @{\n+                Name = $serviceApp.DisplayName\n+                ApplicationPool = $serviceApp.ApplicationPool.Name\n+            }\n+            return $returnVal\n+        }\n+    }\n+    return $result\n+}\n+\n+function Set-TargetResource\n+{\n+    [CmdletBinding()]\n+    [OutputType([System.Collections.Hashtable])]\n+    param\n+    (\n+        [parameter(Mandatory = $true)]  [System.String] $Name,\n+        [parameter(Mandatory = $true)]  [System.String] $ApplicationPool,\n+        [parameter(Mandatory = $false)] [System.Management.Automation.PSCredential] $InstallAccount\n+    )\n+\n+    $result = Get-TargetResource @PSBoundParameters\n+\n+    if ($result -eq $null) { ","path":"Modules/xSharePoint/DSCResources/MSFT_xSPExcelServiceApp/MSFT_xSPExcelServiceApp.psm1","position":49,"original_position":49,"commit_id":"04dbb87281b106e22e1c1db7699349bb61f355c0","original_commit_id":"04dbb87281b106e22e1c1db7699349bb61f355c0","user":{"login":"BrianFarnhill","id":1332611,"avatar_url":"https://avatars.githubusercontent.com/u/1332611?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianFarnhill","html_url":"https://github.com/BrianFarnhill","followers_url":"https://api.github.com/users/BrianFarnhill/followers","following_url":"https://api.github.com/users/BrianFarnhill/following{/other_user}","gists_url":"https://api.github.com/users/BrianFarnhill/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianFarnhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianFarnhill/subscriptions","organizations_url":"https://api.github.com/users/BrianFarnhill/orgs","repos_url":"https://api.github.com/users/BrianFarnhill/repos","events_url":"https://api.github.com/users/BrianFarnhill/events{/privacy}","received_events_url":"https://api.github.com/users/BrianFarnhill/received_events","type":"User","site_admin":false},"body":"Same remark about updating the app pool as the access resource","created_at":"2016-03-17T03:42:45Z","updated_at":"2016-03-17T03:42:45Z","html_url":"https://github.com/PowerShell/xSharePoint/pull/204#discussion_r56452006","pull_request_url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204","_links":{"self":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/comments/56452006"},"html":{"href":"https://github.com/PowerShell/xSharePoint/pull/204#discussion_r56452006"},"pull_request":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204"}}},"pull_request":{"url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204","id":62001300,"html_url":"https://github.com/PowerShell/xSharePoint/pull/204","diff_url":"https://github.com/PowerShell/xSharePoint/pull/204.diff","patch_url":"https://github.com/PowerShell/xSharePoint/pull/204.patch","issue_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/204","number":204,"state":"open","locked":false,"title":"Feature excel perf point access","user":{"login":"caadam","id":9862845,"avatar_url":"https://avatars.githubusercontent.com/u/9862845?v=3","gravatar_id":"","url":"https://api.github.com/users/caadam","html_url":"https://github.com/caadam","followers_url":"https://api.github.com/users/caadam/followers","following_url":"https://api.github.com/users/caadam/following{/other_user}","gists_url":"https://api.github.com/users/caadam/gists{/gist_id}","starred_url":"https://api.github.com/users/caadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caadam/subscriptions","organizations_url":"https://api.github.com/users/caadam/orgs","repos_url":"https://api.github.com/users/caadam/repos","events_url":"https://api.github.com/users/caadam/events{/privacy}","received_events_url":"https://api.github.com/users/caadam/received_events","type":"User","site_admin":false},"body":"@BrianFarnhill suck it! Time for you do a code review!\r\n\r\nAdd support for Excel Services\r\nPerf Point\r\nAccess Services\r\nPlease reject this request. I actually want to add in a few more things like detection for Enterprise Cal ","created_at":"2016-03-07T23:44:53Z","updated_at":"2016-03-17T03:42:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ba4a947bbd236a114b3d8845cc7a745a1c0efb1","assignee":null,"milestone":{"url":"https://api.github.com/repos/PowerShell/xSharePoint/milestones/4","html_url":"https://github.com/PowerShell/xSharePoint/milestones/Release%201.0","labels_url":"https://api.github.com/repos/PowerShell/xSharePoint/milestones/4/labels","id":1631703,"number":4,"title":"Release 1.0","description":"","creator":{"login":"BrianFarnhill","id":1332611,"avatar_url":"https://avatars.githubusercontent.com/u/1332611?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianFarnhill","html_url":"https://github.com/BrianFarnhill","followers_url":"https://api.github.com/users/BrianFarnhill/followers","following_url":"https://api.github.com/users/BrianFarnhill/following{/other_user}","gists_url":"https://api.github.com/users/BrianFarnhill/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianFarnhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianFarnhill/subscriptions","organizations_url":"https://api.github.com/users/BrianFarnhill/orgs","repos_url":"https://api.github.com/users/BrianFarnhill/repos","events_url":"https://api.github.com/users/BrianFarnhill/events{/privacy}","received_events_url":"https://api.github.com/users/BrianFarnhill/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":6,"state":"open","created_at":"2016-03-08T22:46:26Z","updated_at":"2016-03-17T02:51:02Z","due_on":"2016-03-30T13:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204/commits","review_comments_url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204/comments","review_comment_url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/204/comments","statuses_url":"https://api.github.com/repos/PowerShell/xSharePoint/statuses/04dbb87281b106e22e1c1db7699349bb61f355c0","head":{"label":"caadam:feature-ExcelPerfPointAccess","ref":"feature-ExcelPerfPointAccess","sha":"04dbb87281b106e22e1c1db7699349bb61f355c0","user":{"login":"caadam","id":9862845,"avatar_url":"https://avatars.githubusercontent.com/u/9862845?v=3","gravatar_id":"","url":"https://api.github.com/users/caadam","html_url":"https://github.com/caadam","followers_url":"https://api.github.com/users/caadam/followers","following_url":"https://api.github.com/users/caadam/following{/other_user}","gists_url":"https://api.github.com/users/caadam/gists{/gist_id}","starred_url":"https://api.github.com/users/caadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caadam/subscriptions","organizations_url":"https://api.github.com/users/caadam/orgs","repos_url":"https://api.github.com/users/caadam/repos","events_url":"https://api.github.com/users/caadam/events{/privacy}","received_events_url":"https://api.github.com/users/caadam/received_events","type":"User","site_admin":false},"repo":{"id":53318800,"name":"xSharePoint","full_name":"caadam/xSharePoint","owner":{"login":"caadam","id":9862845,"avatar_url":"https://avatars.githubusercontent.com/u/9862845?v=3","gravatar_id":"","url":"https://api.github.com/users/caadam","html_url":"https://github.com/caadam","followers_url":"https://api.github.com/users/caadam/followers","following_url":"https://api.github.com/users/caadam/following{/other_user}","gists_url":"https://api.github.com/users/caadam/gists{/gist_id}","starred_url":"https://api.github.com/users/caadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caadam/subscriptions","organizations_url":"https://api.github.com/users/caadam/orgs","repos_url":"https://api.github.com/users/caadam/repos","events_url":"https://api.github.com/users/caadam/events{/privacy}","received_events_url":"https://api.github.com/users/caadam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caadam/xSharePoint","description":"The xSharePoint PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm","fork":true,"url":"https://api.github.com/repos/caadam/xSharePoint","forks_url":"https://api.github.com/repos/caadam/xSharePoint/forks","keys_url":"https://api.github.com/repos/caadam/xSharePoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caadam/xSharePoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caadam/xSharePoint/teams","hooks_url":"https://api.github.com/repos/caadam/xSharePoint/hooks","issue_events_url":"https://api.github.com/repos/caadam/xSharePoint/issues/events{/number}","events_url":"https://api.github.com/repos/caadam/xSharePoint/events","assignees_url":"https://api.github.com/repos/caadam/xSharePoint/assignees{/user}","branches_url":"https://api.github.com/repos/caadam/xSharePoint/branches{/branch}","tags_url":"https://api.github.com/repos/caadam/xSharePoint/tags","blobs_url":"https://api.github.com/repos/caadam/xSharePoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caadam/xSharePoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caadam/xSharePoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/caadam/xSharePoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caadam/xSharePoint/statuses/{sha}","languages_url":"https://api.github.com/repos/caadam/xSharePoint/languages","stargazers_url":"https://api.github.com/repos/caadam/xSharePoint/stargazers","contributors_url":"https://api.github.com/repos/caadam/xSharePoint/contributors","subscribers_url":"https://api.github.com/repos/caadam/xSharePoint/subscribers","subscription_url":"https://api.github.com/repos/caadam/xSharePoint/subscription","commits_url":"https://api.github.com/repos/caadam/xSharePoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/caadam/xSharePoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/caadam/xSharePoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/caadam/xSharePoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/caadam/xSharePoint/contents/{+path}","compare_url":"https://api.github.com/repos/caadam/xSharePoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caadam/xSharePoint/merges","archive_url":"https://api.github.com/repos/caadam/xSharePoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caadam/xSharePoint/downloads","issues_url":"https://api.github.com/repos/caadam/xSharePoint/issues{/number}","pulls_url":"https://api.github.com/repos/caadam/xSharePoint/pulls{/number}","milestones_url":"https://api.github.com/repos/caadam/xSharePoint/milestones{/number}","notifications_url":"https://api.github.com/repos/caadam/xSharePoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caadam/xSharePoint/labels{/name}","releases_url":"https://api.github.com/repos/caadam/xSharePoint/releases{/id}","deployments_url":"https://api.github.com/repos/caadam/xSharePoint/deployments","created_at":"2016-03-07T11:01:37Z","updated_at":"2016-03-07T11:01:39Z","pushed_at":"2016-03-09T13:01:56Z","git_url":"git://github.com/caadam/xSharePoint.git","ssh_url":"git@github.com:caadam/xSharePoint.git","clone_url":"https://github.com/caadam/xSharePoint.git","svn_url":"https://github.com/caadam/xSharePoint","homepage":null,"size":1442,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"PowerShell:dev","ref":"dev","sha":"e7232c4d649b98621cd6b46a28710a45a4bad14d","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":34434722,"name":"xSharePoint","full_name":"PowerShell/xSharePoint","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/xSharePoint","description":"The xSharePoint PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm","fork":false,"url":"https://api.github.com/repos/PowerShell/xSharePoint","forks_url":"https://api.github.com/repos/PowerShell/xSharePoint/forks","keys_url":"https://api.github.com/repos/PowerShell/xSharePoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerShell/xSharePoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerShell/xSharePoint/teams","hooks_url":"https://api.github.com/repos/PowerShell/xSharePoint/hooks","issue_events_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/events{/number}","events_url":"https://api.github.com/repos/PowerShell/xSharePoint/events","assignees_url":"https://api.github.com/repos/PowerShell/xSharePoint/assignees{/user}","branches_url":"https://api.github.com/repos/PowerShell/xSharePoint/branches{/branch}","tags_url":"https://api.github.com/repos/PowerShell/xSharePoint/tags","blobs_url":"https://api.github.com/repos/PowerShell/xSharePoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerShell/xSharePoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerShell/xSharePoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerShell/xSharePoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerShell/xSharePoint/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerShell/xSharePoint/languages","stargazers_url":"https://api.github.com/repos/PowerShell/xSharePoint/stargazers","contributors_url":"https://api.github.com/repos/PowerShell/xSharePoint/contributors","subscribers_url":"https://api.github.com/repos/PowerShell/xSharePoint/subscribers","subscription_url":"https://api.github.com/repos/PowerShell/xSharePoint/subscription","commits_url":"https://api.github.com/repos/PowerShell/xSharePoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerShell/xSharePoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerShell/xSharePoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerShell/xSharePoint/contents/{+path}","compare_url":"https://api.github.com/repos/PowerShell/xSharePoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerShell/xSharePoint/merges","archive_url":"https://api.github.com/repos/PowerShell/xSharePoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerShell/xSharePoint/downloads","issues_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues{/number}","pulls_url":"https://api.github.com/repos/PowerShell/xSharePoint/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerShell/xSharePoint/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerShell/xSharePoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerShell/xSharePoint/labels{/name}","releases_url":"https://api.github.com/repos/PowerShell/xSharePoint/releases{/id}","deployments_url":"https://api.github.com/repos/PowerShell/xSharePoint/deployments","created_at":"2015-04-23T05:00:16Z","updated_at":"2016-03-16T19:59:15Z","pushed_at":"2016-03-17T03:23:21Z","git_url":"git://github.com/PowerShell/xSharePoint.git","ssh_url":"git@github.com:PowerShell/xSharePoint.git","clone_url":"https://github.com/PowerShell/xSharePoint.git","svn_url":"https://github.com/PowerShell/xSharePoint","homepage":null,"size":1511,"stargazers_count":49,"watchers_count":49,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":34,"forks":35,"open_issues":34,"watchers":49,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204"},"html":{"href":"https://github.com/PowerShell/xSharePoint/pull/204"},"issue":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/issues/204"},"comments":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/issues/204/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/pulls/204/commits"},"statuses":{"href":"https://api.github.com/repos/PowerShell/xSharePoint/statuses/04dbb87281b106e22e1c1db7699349bb61f355c0"}}}}