Uptime of OS relevance help

Hello all,

Hoping for some guidance. I am familiar with utilizing the (uptime of operating system > #*day). What I am looking for now is relevance that will give me True or False if a workstations uptime is between 7 - 14 days.

I have tried:
uptime of operating system > 7day and uptime of operating system < 14day

Issue is that it is “True” even with uptimes greater than 14 days

Thanks!

How about this

Q: (it > 7 and it < 14 ) of (uptime of operating system / day)
A: False
T: 0.142 ms
I: singular boolean

My system has been up for just over 7 days so although it doesn’t replicate the 7 and 14 day, by using 1 and 8 days I it shows the results change would expect it reflect that with 7 and `14 days when those thresholds are exceeded. You can also use >= and/or <=

Q: uptime of operating system
A: 7 days, 23:22:51.937
T: 0.159 ms
I: singular time interval

Q: (it > 7 and it < 14 ) of (uptime of operating system / day)
A: False
T: 0.126 ms
I: singular boolean

Q: (it > 1 and it < 8 ) of (uptime of operating system / day)
A: True
T: 0.085 ms
I: singular boolean
2 Likes