Web Services Interface Guide

145 Dell Lifecycle Controller Web Services Interface Guide for Windows
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