Web Services Interface Guide
161 Dell Lifecycle Controller Web Services Interface Guide for Windows
SharePath: NFS sharepoint address
ImageName: Name of the ISO or IMG image
Workgroup: Name of the workgroup, if applicable.
Username: The username to be used to access the file.
Password: The password to be used to access the file.
Port: The port number to be used.
HashType: The hash type
MD5=1, SHA1=2
HashValue: The hash value string based on the HashType parameter
EXAMPLE:
winrm i CreatePartitionUsingImage http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService
?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_PersistentStorageService +SystemName=DCIM:ComputerSystem
+Name=DCIM:PersistentStorageService -u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:CreatePartitionUsingImage.xml
The input file CreatePartitionUsingImage.xml is shown below:
<p:CreatePartitionUsingImage_INPUT
xmlns:p="http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService">
<p:PartitionIndex>1</p:PartitionIndex> <p:PartitionType>2</p:PartitionType>
<p:OSVolumeLabel>label</p:OSVolumeLabel>
<p:URI>ftp://123.456.7.89/dir/filename.exe</p:URI>
<p:IPAddress>123.456.7.8</p:IPAddress> <p:ShareType>3</p:ShareType>
<p:SharePath></p:SharePath> <p:ImageName>imagename.iso</p:ImageName>
<p:Workgroup>workgroup</p:Workgroup> <p:Username>Administrator</p:Username>
<p:Password>password</p:Password> <p:Port></p:Port>
<p:HashType>1</p:HashType> <p:HashValue>123</p:HashValue>
</p:CreatePartitionUsingImage_INPUT>
OUTPUT: