I got the task to install Windows Server 2008 R2 inside a virtual machine (WMWare Workstation) with Powershell.
It was quite easy to do the installation of Windows inside the virtual machine. Now, I want to detect when the installation is completed because I have to run others tasks after the installation (running Windows Update and installing several applications).
Is there any mechanism in Windows that could allow me to detect the end of the installation? Something like:
- A log message in Event Viewer
- A task that I can scheduled to run when the installation is over