{"action":"created","issue":{"url":"https://api.github.com/repos/mwrock/packer-templates/issues/37","repository_url":"https://api.github.com/repos/mwrock/packer-templates","labels_url":"https://api.github.com/repos/mwrock/packer-templates/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/mwrock/packer-templates/issues/37/comments","events_url":"https://api.github.com/repos/mwrock/packer-templates/issues/37/events","html_url":"https://github.com/mwrock/packer-templates/issues/37","id":137906825,"number":37,"title":"Boxstarter.ps1 failed to invoke expression","user":{"login":"LokiTaria","id":17596469,"avatar_url":"https://avatars.githubusercontent.com/u/17596469?v=3","gravatar_id":"","url":"https://api.github.com/users/LokiTaria","html_url":"https://github.com/LokiTaria","followers_url":"https://api.github.com/users/LokiTaria/followers","following_url":"https://api.github.com/users/LokiTaria/following{/other_user}","gists_url":"https://api.github.com/users/LokiTaria/gists{/gist_id}","starred_url":"https://api.github.com/users/LokiTaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LokiTaria/subscriptions","organizations_url":"https://api.github.com/users/LokiTaria/orgs","repos_url":"https://api.github.com/users/LokiTaria/repos","events_url":"https://api.github.com/users/LokiTaria/events{/privacy}","received_events_url":"https://api.github.com/users/LokiTaria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-02T15:34:33Z","updated_at":"2016-03-02T20:27:07Z","closed_at":null,"body":"Hey I tried to setup a Windows 2012 R2 (x64) Server. It worked properly until my VM restarted after installing, executing the boxstarter.ps1 script.\r\n\r\nIt fails there somehow to execute the Get-Boxstarter cmdlet as shown in the picture below.\r\n![boxstarter_error](https://cloud.githubusercontent.com/assets/17596469/13464950/af6f94aa-e093-11e5-9494-0fea060d5ec8.png)\r\n\r\n*This is german and translates to:*\r\n> The expression after \".\" in a pipeline element created an invalid object. The expression must be a command name, script block or a CommandInfo object.\r\nIn row:1 char:3\r\n[...]\r\n>\r\nGet-Boxstarter: The definition \"Get-Boxstarter\" was not recognised as the name of a Cmdlet, a function, or a script file. Check the spelling of the name, wether the path is valid and repeat the process.\r\n[...]"},"comment":{"url":"https://api.github.com/repos/mwrock/packer-templates/issues/comments/191414349","html_url":"https://github.com/mwrock/packer-templates/issues/37#issuecomment-191414349","issue_url":"https://api.github.com/repos/mwrock/packer-templates/issues/37","id":191414349,"user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T20:27:07Z","updated_at":"2016-03-02T20:27:07Z","body":"Strange. I just kicked off a packer run to see if this reproduces. Did not have any luck reproducing this error. Its odd that it complains that \"The definition \"Get-Boxstarter\" was not recognised\" because that is the function that it is running inside of."}}