Web Services Interface Guide

244 Dell Lifecycle Controller Web Services Interface Guide for Windows
winrm i DeleteVirtualDisk cimv2/root/dcim/DCIM_RAIDService
?SystemCreationClassName=DCIM_ComputerSystem +CreationClassName=DCIM_RAIDService
+SystemName=DCIM:ComputerSystem +Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8
-a:basic -file:DeleteVirtualDisk.xml
The input file DeleteVirtualDisk.xml is shown below:
<p:DeleteVirtualDisk_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>DISK.Virtual.0:RAID.Integrated.1-1</p:Target>
</p:DeleteVirtualDisk_INPUT>
OUTPUT:
DeleteVirtualDisk_OUTPUT
RebootRequired = YES
ReturnValue = 0
16.19 Setting Controller Attributes
16.19.1 Changing the Value of a RAID Controller Enumeration Attribute
The SetAttribute() method is used to set or change the value of a RAID controller or a virtual disk attribute.
The example below shows setting a RAID controller enumeration attribute. To set a virtual disk attribute,
use the FQDD of the virtual disk attribute for the Target, and the AttributeName and AttributeValue.
Invoke SetAttribute() with the following parameters (from Section 16.1) and syntax:
TARGET: Obtained from the FQDD field
AttributeName: Obtained from the AttributeName field
AttributeValue: Obtained from the PossibleValues field
EXAMPLE:
winrm i SetAttribute cimv2/root/dcim/DCIM_RAIDSe
rvice?SystemCreationClassName=DCIM_ComputerSystem+CreationClassName=DCIM_RAIDSer
vice+System Name=DCIM:ComputerSystem+Name=DCIM:RAIDService
-u:[USER] -p:[PASSWORD]