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

2 Comments

  1. After running the Script it is not possible to force timed restarts..

    It can't find the biggest active service window....

Leave a Reply to Jay Connor Cancel reply

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

*