Web Services Interface Guide

271 Dell Lifecycle Controller Web Services Interface Guide for Windows
winrm i RestoreImage 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
@{IPAddress="[IP ADDRESS]";ShareType="4";ScheduledStartTime="TIME_NOW"}
18.3.2 Importing Server Profile from NFS share-RestoreImage()
NFS Share:
ShareType is “0”.
EXAMPLE:
winrm i RestoreImage 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
@
{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”
18.3.3 Importing Server Profile from CIFS share-RestoreImage()
CIFS Share:
ShareType is “2”.
winrm i RestoreImage 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]