-checkIfRebootRequired
Use this command-line switch to detect if a reboot is required before continuing with any maintenance operations.
eps.rmm.exe -checkIfRebootRequired
The RMM SDK Tools will print to stdout the Boolean value 1, if a reboot is required and 0 otherwise.