Sys\_PendingReboot
Description
Section titled “Description”The functions determines if the operating system has a pending reboot due to installed updates
Syntax
Section titled “Syntax”Sys_PendingReboot() As Boolean
Return value
Section titled “Return value”Result will be stored in gbValue
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Sys_PendingReboot()If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)Related functions
Section titled “Related functions”Sys_IsFirewallEnabled Sys_IsFirewallPortOpen