Could you please add a switch or parameter to the cmdlet to change the "problem-detection" method.
when the uptime is lower than x hours/days/whatever the cmdlet should return the warning/critical state instead of current behavior (uptime is higher then x).