Sys_PendingReboot

Description

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

 

Syntax

Sys_PendingReboot() As Boolean

 

Return value

Result will be stored in gbValue

 

Example

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

Scripting Guidelines

 

Related functions

Sys_IsFirewallEnabled Sys_IsFirewallPortOpen