Workflow reboots
We'd like a workflow/automation to reboot computers (based on OS) based on uptime. for example that a system wil reboot if the uptime is longer then x days. This is convenient for installing updates, without bothering the users.
Comments: 1
-
27 Jan, '23
Zack B.Agree with needing this.
Current workaround I have in case this helps anyone for the time being:
Make a script that that creates a custom Event ID (can be done with Powershell's "EventCreate" command) if the PC has been up for X period of time.
Have the script tied to a Task that runs on a schedule (depending on your time needs).
Then have your workflow kicked off by that specific Event ID showing up.
Be sure that the Event ID (specifically the Number) you assign isn't already used for something else.
You won't be able to get super specific on rebooting when the PC hits exactly X hours up... but at least you'd be able to do it on a daily basis.