Ability to trigger reboots through the client WMI SDK
We need a way to use PowerShell (script) to trigger a Reboot using the Software Center Dialogs. This way we can trigger a reboot at the end of an install which will leverage the CM built-in notifications.
Currently, if you have a deployment that triggers a pending reboot, the machine with NOT actually reboot after the install, but instead waits for the deadline. Or if the Deployment had no deadline, the machine will never actually reboot.
We need a way to have CM trigger a reboot that we can call in a script, so at the end of an application install (or other use case), we can call the command to have the CM Reboot Countdown trigger (based on client settings) and reboot the machine.
More info in this Thread: https://twitter.com/adammeltzer/status/1249756471211909121
Grant P commented
I would agree this functionality would be helpful in terms of scripts / other components which need a reboot to update the configuration, but not doing a full-blown software update (Program or Application).
My particular use-case is a chkdsk that returns back bad, now I need to reboot in order to complete the repairs; would be nicer if I could just instruct the client to set soft reboot for next maintenance window. Yes I know I can do this with a Baseline + Program on non-compliant, but it would be nicer if I could just do it in one place instead of two.