Web Services Interface Guide

272 Dell Lifecycle Controller Web Services Interface Guide for Windows
-r:https://[IPADDRESS]/wsman -SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic
@{IPAddress="[IP ADDRESS]";ShareName="/[DRIVESHARE]"; ShareType="2";
Username="[USERNAME]";Password="[PASSWORD]";ImageName="[IMAGENAME]";
Passphrase="[PASSPHRASE]";ScheduledStartTime="TIME_NOW"}
Incorrect Example: ShareName=”/folder1”;ImageName=”subfolder/image_name”
Correct Example: ShareName=”/folder1/subfolder”;ImageName=”image_name”
OUTPUT:
RestoreImage_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_001293618214, __cimnamespace = root/dcim
ReturnValue = 4096
The response contains a reference to the job class that will provide the status of the operation. The return
value is 4096 which indicates that the method operation is not yet complete.
18.3.4 Monitoring Import Status
Restore process may take up to 60 minutes depending on host system configuration. To monitor the
backup status, get the instance of the corresponding job.
Replace [INSTANCE ID] with the actual jobid from Section 18.2.1, 18.2.2, or 18.2.3.
EXAMPLE:
winrm get http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob ?InstanceID=[INSTANCE ID]
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman:443 -SkipCNCheck -SkipCACHeck -a:basic -
encoding:utf-8
OUTPUT: