Looping in a Runbook is an option to wait for a specified condition and repeat an activity until the criteria is met.
In this recipe, we will restart a computer and use an activity to check the status of the computer until it is available again. The final step will be to log the result into the event log.
For this recipe you need a computer that can be restarted. On the nominated computer the Print Spooler should be available and running.
You must create a new Runbook in the Runbook Designer before configuring the activities of the process: