Web Services Interface Guide

164 Dell Lifecycle Controller Web Services Interface Guide for Windows
winrm i FormatPartition 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:FormatPartition.xml
The input file FormatPartition.xml is shown below:
<p:FormatPartition_INPUT xmlns:p=" http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_PersistentStorageService"> <p:PartitionIndex>13</p:PartitionIndex>
<p:FormatType>4</p:FormatType>
</p:FormatPartition_INPUT>
OUTPUT:
When this method is executed, a jobid or an error message is returned.
FormatPartition_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_001270738393, __cimnamespace = root/dcim
ReturnValue = 0
13.8 Modify Partition
This method is used for modifying the changeable attributes of a partition.
Use the following algorithm to successfully modify an existing partition.
Enumerate the DCIM_PersistentStorageService class
Invoke ModifyPartition() method on the instance above with the following parameters: