Hello all, actually I'm trying to deploy VM Windows. And I'm stuck with some problems. At first I couldn't connect to domain, flow were filtered, so I was using the option GuiRunOnce that was runni...
See more...
Hello all, actually I'm trying to deploy VM Windows. And I'm stuck with some problems. At first I couldn't connect to domain, flow were filtered, so I was using the option GuiRunOnce that was running some powershell commands. It was working well. Now flow are opened, and GuiRunOnce is not working until I open session, but I don't want to do it, so I converted the command from GuiRunOnce to invoke-VMScript, one invoke for one command. But during the deployment, the Invoke seems not working nothing done on the VM, but if I run the same invoke from a powershell console it works. I must say that from the deployment script I update VMtools before calling the invoke. Also, I have tryed to not join the domain at the OSCustomizationSpec, by setting domain to null the same for credential, but the deployment failed in this case. Any idea, recommendation ? Thanks in advance. Ben