White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Windows  Version: 2.1.0 
118 
Invoke AttachPartition() with the following parameters and syntax: 
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance 
that represents the partition to be attached 
1 to 16 
EXAMPLE: 
winrm i AttachPartition 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:AttachPartition.xml 
The input file AttachPartition.xml is shown below: 
<p:AttachPartition_INPUT xmlns:p=" http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService"> 
<p:PartitionIndex>12</p:PartitionIndex> 
</p:AttachPartition_INPUT>  
OUTPUT: 
When this method is executed, a jobid or an error message is returned.  
AttachPartition_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_001270737179, __cimnamespace = root/dcim 
 ReturnValue = 0 
13.10  Detach Partition 
This method is for defining the set of partitions to be removed as USB endpoints from the managed 
system. 
Invoke DetachPartition() with the following parameters and syntax: 
PartitionIndex: The PartitionIndex property of the DCIM_OpaqueManagementData instance 
that represents the partition to be detached 
1 to 16 
EXAMPLE: 










