Web Services Interface Guide

Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows Version: 2.1.0
104
Workgroup: This is the applicable workgroup.
EXAMPLE:
winrm i ExportFactoryConfiguration http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_LCService
+SystemName=DCIM:ComputerSystem+Name=DCIM:LCService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck
-encoding:utf-8 -a:basic -file:ExportFactoryConfiguration.xml
The input file ExportFactoryConfiguration.xml is shown below:
<p:ExportFactoryConfiguration_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService">
<p:IPAddress>123.456.7.8</p:IPAddress>
<p:ShareName>sharename</p:ShareName>
<p:FileName>filename.txt</p:FileName>
<p:ShareType>0</p:ShareType>
<p:Username>admin</p:Username>
<p:Password>password</p:Password>
<p:Workgroup>workgroup</p:Workgroup>
</p: ExportFactoryConfiguration_INPUT>
OUTPUT:
When this method is executed, a jobid or an error message is returned.
ExportFactoryConfiguration_OUTPUT
Job
Address = http://schemas.xmlsoap.org/ws/2004/08/addressing
/role/anonymous
ReferenceParameters
ResourceURI = http://schemas.dell.com/wbem/wscim
/1/cim-schema/2/DCIM_LifecycleJob
SelectorSet
Selector: InstanceID = JID_001271168441, __cimnamespace = root/dcim
ReturnValue = 0
12.16 System Decommission
This method is called to delete all configurations from the Lifecycle controller before the system is
retired.
Invoke LCWipe() with the following parameters and syntax:
EXAMPLE:
winrm i LCWipe http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_LCService