And it only took me half a day. :)
Lesson learned: in PowerShell, if you
WaitForExit on a
Process, then the no output events are generated until it will be finished. I guess it should be named
WaitForExitAndDoNothingElse… anyway, this is fixed now in this commit.
Another painful lesson is that apparently not everything is included in a generalized image on Azure. I did install Carbon, and more PowerShell stuff before capturing the image, but they were not present in the image. :( I guess I need to install them to some system directory, instead of the user’s home.
Now I need to section the output on Windows, this issue), and then make the output nicer
- in the
- on the web,
- in the email message.