{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/xComputerManagement/issues/7","labels_url":"https://api.github.com/repos/PowerShell/xComputerManagement/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/xComputerManagement/issues/7/comments","events_url":"https://api.github.com/repos/PowerShell/xComputerManagement/issues/7/events","html_url":"https://github.com/PowerShell/xComputerManagement/issues/7","id":78587395,"number":7,"title":"Error when specifying no Domain or Workgroup Name","user":{"login":"iainbrighton","id":7023258,"avatar_url":"https://avatars.githubusercontent.com/u/7023258?v=3","gravatar_id":"","url":"https://api.github.com/users/iainbrighton","html_url":"https://github.com/iainbrighton","followers_url":"https://api.github.com/users/iainbrighton/followers","following_url":"https://api.github.com/users/iainbrighton/following{/other_user}","gists_url":"https://api.github.com/users/iainbrighton/gists{/gist_id}","starred_url":"https://api.github.com/users/iainbrighton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iainbrighton/subscriptions","organizations_url":"https://api.github.com/users/iainbrighton/orgs","repos_url":"https://api.github.com/users/iainbrighton/repos","events_url":"https://api.github.com/users/iainbrighton/events{/privacy}","received_events_url":"https://api.github.com/users/iainbrighton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T16:12:25Z","updated_at":"2015-05-20T16:37:58Z","closed_at":"2015-05-20T16:37:58Z","body":"When supplying a configuration to just set the computer's name - without specifying a Domain or Workgroup name - the Test-TargetResource method fails. The first Test-TargetResource fails as expected as the computer name is incorrect.\r\n\r\nHowever, after the machine has been renamed correctly and rebooted, all subsequent Test-TargetResource calls fail as the method does not return $true or $false!"},"comment":{"url":"https://api.github.com/repos/PowerShell/xComputerManagement/issues/comments/103952582","html_url":"https://github.com/PowerShell/xComputerManagement/issues/7#issuecomment-103952582","issue_url":"https://api.github.com/repos/PowerShell/xComputerManagement/issues/7","id":103952582,"user":{"login":"TravisEz13","id":10873629,"avatar_url":"https://avatars.githubusercontent.com/u/10873629?v=3","gravatar_id":"","url":"https://api.github.com/users/TravisEz13","html_url":"https://github.com/TravisEz13","followers_url":"https://api.github.com/users/TravisEz13/followers","following_url":"https://api.github.com/users/TravisEz13/following{/other_user}","gists_url":"https://api.github.com/users/TravisEz13/gists{/gist_id}","starred_url":"https://api.github.com/users/TravisEz13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravisEz13/subscriptions","organizations_url":"https://api.github.com/users/TravisEz13/orgs","repos_url":"https://api.github.com/users/TravisEz13/repos","events_url":"https://api.github.com/users/TravisEz13/events{/privacy}","received_events_url":"https://api.github.com/users/TravisEz13/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T16:37:58Z","updated_at":"2015-05-20T16:37:58Z","body":"fixed in above commit"}}