{"action":"opened","issue":{"url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/51","labels_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/51/comments","events_url":"https://api.github.com/repos/PowerShell/xSharePoint/issues/51/events","html_url":"https://github.com/PowerShell/xSharePoint/issues/51","id":94117373,"number":51,"title":"Session is Broken","user":{"login":"NikCharlebois","id":2547149,"avatar_url":"https://avatars.githubusercontent.com/u/2547149?v=3","gravatar_id":"","url":"https://api.github.com/users/NikCharlebois","html_url":"https://github.com/NikCharlebois","followers_url":"https://api.github.com/users/NikCharlebois/followers","following_url":"https://api.github.com/users/NikCharlebois/following{/other_user}","gists_url":"https://api.github.com/users/NikCharlebois/gists{/gist_id}","starred_url":"https://api.github.com/users/NikCharlebois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikCharlebois/subscriptions","organizations_url":"https://api.github.com/users/NikCharlebois/orgs","repos_url":"https://api.github.com/users/NikCharlebois/repos","events_url":"https://api.github.com/users/NikCharlebois/events{/privacy}","received_events_url":"https://api.github.com/users/NikCharlebois/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-09T18:19:48Z","updated_at":"2015-07-09T18:19:48Z","closed_at":null,"body":"Hi guys, the problem is most likely on my end, but using the singlefarm example you provided, I keep getting the following error:\r\n\r\nThis event indicates that a non-terminating error was thrown when DSCEngine was executing Set-TargetResource on MSFT_xSPCreateFarm DSC resource. FullyQualifiedErrorId is InvalidSessionState,localhost. Error Message is Cannot invoke the pipeline because the runspace is not in the Opened state. Current state of the runspace is 'Broken'..\r\n\r\nThe server reboots twice for the Prerequisites installation, then installed the SP bits without any issues. It is when I hit the xSPCreateFarm that things start going wrong. I suspect the xSPClearRemoteSession is the culprit. Here is my config (still the default):\r\n\r\nxSPClearRemoteSessions ClearRemotePowerShellSessions\r\n        {\r\n            ClearRemoteSessions = $true\r\n        }\r\n\r\nAny ideas/pointers as to what I may be doing wrong? Thanks\r\n\r\nNik"}}