{"action":"closed","issue":{"url":"https://api.github.com/repos/ligershark/psbuild/issues/72","labels_url":"https://api.github.com/repos/ligershark/psbuild/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/ligershark/psbuild/issues/72/comments","events_url":"https://api.github.com/repos/ligershark/psbuild/issues/72/events","html_url":"https://github.com/ligershark/psbuild/issues/72","id":86318724,"number":72,"title":"GetPSBuild.ps1 fails if run under LocalSystem account","user":{"login":"DmitryLobanov","id":1220799,"avatar_url":"https://avatars.githubusercontent.com/u/1220799?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryLobanov","html_url":"https://github.com/DmitryLobanov","followers_url":"https://api.github.com/users/DmitryLobanov/followers","following_url":"https://api.github.com/users/DmitryLobanov/following{/other_user}","gists_url":"https://api.github.com/users/DmitryLobanov/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryLobanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryLobanov/subscriptions","organizations_url":"https://api.github.com/users/DmitryLobanov/orgs","repos_url":"https://api.github.com/users/DmitryLobanov/repos","events_url":"https://api.github.com/users/DmitryLobanov/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryLobanov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-08T20:28:27Z","updated_at":"2015-07-12T08:57:37Z","closed_at":"2015-07-12T08:57:37Z","body":"Hello, if we run GetPSBuild.ps1 onto a build agent running under the LocalSystem account (not good :) ), then it fails because it fails to find PS Module directory. The `GetPsModulesPath` function fails.\r\n\r\n > GetPsModulesPath : Cannot bind argument to parameter 'Path' because it is an empty string."}}