Today I set out to create a script that would automatically reboot workstations (not servers) at midnight following 24 hours of uptime. This is to facilitate patching and software deployment. The problem was the syntax for Uptime in the smart label wizard didn't seem to work any way I tried to enter it. With some help from IT Ninja and KACE support this is what I found works. 


For non-server windows based machines.

For Servers it shoud look something like this.

With additional limits on the Workstation Label

With the first smart label and reboot script, we're hoping to have this in place once it's tested and approved. I hope this helps!