I have a device that is ready to install a Windows 10 Feature Update (1607 from 1511). The update was downloaded via Windows Update and is currently sitting resident in the system somewhere, waiting for the user to explicitly send it the command "Update and restart" via this menu:
Notice that this is not a typical Windows 10 power menu; the options for "Restart" and "Shut Down" appear alongside the options for "Update and restart" and "Update and shut down". Normally (for quality updates) the "Restart" option is turned into the "Update and restart" option.
My specific scenario regards mass automation for use with an RMM tool. I need a way to push through a script via the command-line – language not strictly important – in such a way that the reboot requires no user interaction.
I need to force a reboot command to the device via the command-line that explicitly forces the system to enter "Update and restart" mode and not just "Restart" mode. I know of a tool called ShutdownWithUpdates but it does not work for this (I tried); there is no functionality within the baked-in "Shutdown" tool either. Get-WUInstall does not appear to offer this functionality; certainly, it doesn't work when the update is already resident and downloaded on the system, which is the use case I am working towards.
Screen macros are not an option.