White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows  Version: 2.1.0 
44 
7.8  CreateRebootJob() 
The CreateRebootJob() method creates a reboot job that can be scheduled to reboot immediately or 
at a later time. When the reboot job is scheduled and then executed, via SetupJobQueue() (Section 
10.2.1), the reboot will take several minutes depending on the system setup, including whether 
collecting system inventory (CSIOR) is enabled. 
Invoke CreateRebootJob with the following parameters and syntax: 
RebootJobType: There are three options for rebooting the system.  
1 = PowerCycle 
2 = Graceful Reboot without forced shutdown 
3 = Graceful reboot with forced shutdown 
EXAMPLE: 
winrm invoke CreateRebootJob cimv2/root/dcim/DCIM_SoftwareInstallationService 
?CreationClassName=DCIM_SoftwareInstallationService 
+SystemCreationClassName=DCIM_ComputerSystem 
+SystemName=IDRAC:ID+Name=SoftwareUpdate  
-file:reboot.xml  
-u:[USER] -p:[PASSWORD] 
-r:https://[IPADDRESS]/wsman:443 
-SkipCNCheck -auth:basic -encoding:utf-8 
The syntax for reboot.xml is: 
<p:CreateRebootJob_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_SoftwareInstallationService"> 
 <p:RebootJobType>2</p:RebootJobType> 
</p:CreateRebootJob_INPUT> 
OUTPUT: 
This method will return a reboot jobid that can be set to reboot the system immediately or at a later 
time. 
CreateRebootJob_OUTPUT 
 RebootJobID 
 Address = http://schemas.xmlsoap.org/ws/2004  
 /08/addressing/role/anonymous 
ReferenceParameters 
 ResourceURI = http://schemas.dell.com/wbem 
  /wscim/1/cim-schema/2/DCIM_SoftUpdateConcreteJob 
 SelectorSet 
 Selector: InstanceID = RID_001265648530, __cimnamespace = root/dcim 
ReturnValue = null  
The jobid in the above output is the instanceID: 










