White Papers
26 Zero-touch, bare-metal server provisioning using the Dell EMC iDRAC with Lifecycle Controller Auto Config
4 Getting server configuration profiles by using WS-Man
commands
Here is an example workflow using the winrm command to export a system configuration profile to an NFS
share. The export job is queried until the job is completed.
1. Export the Server Configuration Profile.
C:\winrm i ExportSystemConfiguration 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:LCSe
rvice -u:root -p:calvin -r:https://192.168.0.130/wsman -SkipCNCheck -
SkipCACheck -encoding:utf-8-a:basic
@{IPAddress="192.168.0.130";FileName="system_config.xml";ShareName="/nfs_share
";ShareType="0"}
ExportSystemConfiguration_OUTPUT
Job
EndpointReference
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_307858869989, cimnamespace = root/dcim
ReturnValue = 4096
2. Check the job status.
C:\winrm get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob?InstanceID=JID_307858869989 -
r:https://192.168.0.120/wsman:443 -u:root-p:calvin -SkipCNCheck -SkipCACHeck -
a:basic -encoding:utf-8
DCIM_LifecycleJob
ElapsedTimeSinceCompletion = 3
InstanceID = JID_307858869989
JobStartTime = NA
JobStatus = Completed
JobUntilTime = NA
Message = Successfully exported system configuration XML file.
MessageArguments = NA
MessageID = SYS043
Name = Export Configuration
PercentComplete = 100