{"action":"opened","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/2473","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/2473/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/2473/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/2473/events","html_url":"https://github.com/mitchellh/packer/issues/2473","id":95862127,"number":2473,"title":"Powershell provisioner failing, not showing results and does not proceed. ","user":{"login":"trodemaster","id":5666516,"avatar_url":"https://avatars.githubusercontent.com/u/5666516?v=3","gravatar_id":"","url":"https://api.github.com/users/trodemaster","html_url":"https://github.com/trodemaster","followers_url":"https://api.github.com/users/trodemaster/followers","following_url":"https://api.github.com/users/trodemaster/following{/other_user}","gists_url":"https://api.github.com/users/trodemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/trodemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trodemaster/subscriptions","organizations_url":"https://api.github.com/users/trodemaster/orgs","repos_url":"https://api.github.com/users/trodemaster/repos","events_url":"https://api.github.com/users/trodemaster/events{/privacy}","received_events_url":"https://api.github.com/users/trodemaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-18T21:47:12Z","updated_at":"2015-07-18T21:47:12Z","closed_at":null,"body":"I'm seeing some unexpected behavior with the winrm communicator and powershell provisioner. One of the first things I'm porting over is the VMware tools install process of my vmware-iso Windows Server 2012r2 packer template. At the point when vmware tools setup runs the packer console session just stops showing any output. On investigation of the vm I see log files created by the powershell provisioner and the script does in fact complete running as expected. As a test I connected to the vm via  powershell enter-pssession and that connection continued to work while vmware tools was being installed. Debug logging in packer shows nothing and I even let it sit overnight once. \r\n\r\nwhat the packer console shows..\r\nvmware-iso: Installed VMware cert...\r\nvmware-iso: Installing VMWare Tools...\r\nvmware-iso: Waiting for VMware tools to install\r\n\r\nThen nothing happens at this point and I verified that winrm sessions are not dropping and the system is still reachable. \r\n\r\nIf you look at the .out log file from the powershell provisioner run of the tools-win-new.ps1 script it's clearly finishing. \r\nhttps://gist.github.com/trodemaster/531b678131c2afbb2a2b\r\n\r\nAnybody have suggestions or should I just get a bug report started? \r\n\r\nGit repo for the packer project\r\nhttps://github.com/trodemaster/packer-WinSrv2012r2/tree/packer-winrm-tools-disconnect\r\n\r\nWinSrv2012r2.json template file\r\nhttps://github.com/trodemaster/packer-WinSrv2012r2/blob/packer-winrm-tools-disconnect/WinSrv2012r2.json\r\n\r\nI'm using a file provisioner to upload the VMware tools installer. Then this powershell script to install tools. \r\nhttps://github.com/trodemaster/packer-WinSrv2012r2/blob/packer-winrm-tools-disconnect/scripts/tools-win-new.ps1\r\n\r\nPacker build debug log\r\nhttps://gist.github.com/trodemaster/5dacdd1e2072b65dccaf\r\n"}}