White Papers

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
76
This method is used to detach the emulated USB device that had been attached by previously calling
the BootToNetworkISO() method.
Invoke DetachISOImage() with the following syntax:
EXAMPLE:
winrm i DetachISOImage cimv2/root/dcim/DCIM_OSDeploymentService
?CreationClassName=DCIM_OSDeploymentService
+Name=DCIM:OSDeploymentService
+SystemCreationClassName=DCIM_ComputerSystem
+SystemName=DCIM:ComputerSystem
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman:443
-encoding:utf-8 -a:basic
OUTPUT:
The method will return 0 for success or an integer for error or job in execution. An error such as the
following can occur if an ISO image is not attached.
DetachISOImage_OUTPUT
Message = ISO image is not attached
MessageID = OSD32
ReturnValue = 2
11.3.8 Boot To PXE
The BootToPXE() method is used to boot to server using the PXE mechanism, which is to reboot the
host server and boot to PXE.
Invoke to boot target system to PXE with the following syntax:
EXAMPLE:
winrm i BootToPXE cimv2/root/dcim/DCIM_OSDeploymentService
?CreationClassName=DCIM_OSDeploymentService
+Name=DCIM:OSDeploymentService
+SystemCreationClassName=DCIM_ComputerSystem
+SystemName=DCIM:ComputerSystem
-u:[USER] -p:[PASSWORD] -r:https://[IPADDRESS]/wsman:443
-encoding:utf-8 -a:basic
The return will be 0 for success or 1 if an error occurred in starting the processing the input
parameters. The MessageID and Message output parameters will further contain method invocation
information if an error occurred.
OUTPUT:
BootToPXE_OUTPUT
ReturnValue = 0