White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows  Version: 2.1.0 
112 
MB=1, GB=2 
PartitionType: The partition type 
floppy=1, hard disk=2 
OSVolumeLabel: The label seen in the OS after attaching the partition 
EXAMPLE: 
winrm i CreatePartition http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService 
?SystemCreationClassName=DCIM_ComputerSystem 
+CreationClassName=DCIM_PersistentStorageService 
+SystemName=DCIM:ComputerSystem 
+Name=DCIM:PersistentStorageService  
-r:https://[IPADDRESS]:443/wsman 
-u:[USER] -p:[PASSWORD] -auth:basic 
-encoding:utf-8 -SkipCNCheck –SkipCACheck 
-file:[DIRECTORYPATH]\CreatePartition.xml 
The input file CreatePartition.xml is shown below: 
<p:CreatePartition_INPUT xmlns:p="http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService"> 
 <p:PartitionIndex>1</p:PartitionIndex> 
 <p:Size>50</p:Size>  
 <p:SizeUnit>1</p:SizeUnit>  
 <p:PartitionType>2</p:PartitionType>  
 <p:OSVolumeLabel>label1</p:OSVolumeLabel> 
</p:CreatePartition_INPUT>  
OUTPUT: 
When this method is executed, a jobid or an error message is returned.  
CreatePartition_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_001270734913, __cimnamespace = root/dcim 
 ReturnValue = 0 
If this method returns the following message, the VFlash must be enabled using the 
VFlashStateChange() (Section 13.3) method. 
CreatePartition_OUTPUT 
 Message = VFlash not enabled 
 MessageID = VF015 
 ReturnValue = 2 










