Stopping mandatory SCCM Reboot last minute

Open an elevated powershell window and run the commands:

To use it in a run script and get feedback we need to delay the restart of the service using scheduled task

Thanks @PotentEngineer and Russ for the code I mismashed together

There are no comments yet, add one below.

Leave a Comment

Your email address will not be published. Required fields are marked *