Search the Community
Showing results for tags 'Restart Computer'.
-
Hello all. I am well versed in the Software Update functionality of SCCM but am just now getting into Task Sequences and could use some help. I am attempting to create a task sequence that performs the following: Check for pending reboot state If pending reboot state = true then restart computer After reboot, install deployed software updates Restart computer Perform scan cycle and determine compliance If non compliant, install software updates Restart Computer Repeat steps 5 through 7 again if necessary Complete I have been messing around with the Get-PendingReboot PowerShell script from the gallery: https://gallery.technet.microsoft.com/scriptcenter/Get-PendingReboot-Query-bdb79542 I'm a bit lost on how to take the results of a Run PowerShell Script task and use it as a condition to run a Restart Computer task. I also have no idea how I would execute a compliance scan and initiate a software update install of the computer if found to be non-compliant based on the software updates I've deployed to it. If it matters at all, I'm specifically focused on servers with strict maintenance windows. Our business is adverse to downtime so I need to attempt to configure SCCM to make the most of the small maintenance windows we have. Ideally our servers should come out of a maintenance window fully compliant and not in a pending reboot state. Any help provided is greatly appreciated.
- 1 reply
-
- Task Sequence
- Pending Reboot
-
(and 1 more)
Tagged with: