We are just starting to use the deployment toolkit and one of my scripts requires a user notification and a restart. If no users are logged on however, I would like the script to be completely silent and just install and reboot. I am wondering if I need to code this in, or if the Show-Installation and Show-Restart prompts already skip the countdown if no users are logged in.
I believe you don’t have to code it. I know deploying it via sccm you get this…
[Initialization] :: Session 0 not detected.
[Initialization] :: Installation is running in [Interactive] mode.