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

3 Comments

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

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

  2. Given Sekgota August 7, 2024 Reply

    Interested in More SCCM solutions

Leave a Comment

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

*