Job_RebootWS

Description

Reboot workstation. In order for this function to work properly the script needs to be executed by an Agent that can do the actual reboot

Note: This function is only supported from computer context


Syntax

Job_RebootWS(sMsg) As Boolean


Parameters

sMsg (String)

Message to show user before reboot


Example

VBScript
If bStatus Then bStatus = Job_RebootWs("Reboot needed in order to complete installation") 

Scripting Guidelines


Related functions