/
Job_RebootWS
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")
Related functions
Related content
$cs.Job_Start
$cs.Job_Start
More like this
CMS_RunSystemAgent
CMS_RunSystemAgent
More like this
Sys_BreakthruMsgbox
Sys_BreakthruMsgbox
More like this
File_WaitWhileExist
File_WaitWhileExist
More like this
Exit-PSScript
Exit-PSScript
More like this
Log_RemoveLogs
Log_RemoveLogs
More like this