White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Windows  Version: 2.1.0 
162 
EXAMPLE: 
winrm i SetControllerKey http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/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:SetControllerKey.xml 
The input file SetControllerKey.xml is shown below: 
<p:SetControllerKey_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService"> 
 <p:Target>RAID.Integrated.1-1</p:Target> 
 <p:Key>abc123</p:Key> 
 <p:Keyid>keyid</p:Keyid> 
</p:SetControllerKey_INPUT> 
OUTPUT: 
This method requires an H700 or H800 controller to properly function. Running this method on older 
controllers may yield this message:  
SetControllerKey_OUTPUT 
 Message = Controller is not security capable 
 MessageID = STOR022 
 ReturnValue = 2 
16.17.2 Locking the Virtual Disk-LockVirtualDisk() 
The LockVirtualDisk() method encrypts the virtual disk. Note that the virtual disk must first exist for 
this method to be successful.  
Invoke LockVirtualDisk() with the following parameters and syntax: 
TARGET: This parameter is the FQDD of the target virtual disk 
EXAMPLE: 
winrm i LockVirtualDisk http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/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:LockVirtualDisk.xml 










