Skip to content

Sys\_PendingReboot

The functions determines if the operating system has a pending reboot due to installed updates

Sys_PendingReboot() As Boolean

Result will be stored in gbValue

VBScript

If bStatus Then bStatus = Sys_PendingReboot()
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

Sys_IsFirewallEnabled Sys_IsFirewallPortOpen