Is there any way to specifically have PSADT not reboot but shutdown the vm after a MSU is applied, then after power-on continue with the install? I have no problem allowing mpfam updates yet I need the Win VM to completely shutdown after MSU\MSI. I have the posh code to do this yet I don’t know where to inject it into the program. Any guidance would be appreciated. -Edited for Spelling
I would put the shutdown code right after the MSI install command:
- MSI install
- your shutdown code with a 10 second delay
To have PSADT restart the install after a power-on is not built-in.
You’ll have to do that yourself. There are many way depending on your scenario.