Remove Hard Disk from VM
This Automation Manager object deletes a hard disk drive from a virtual machine.
Input Parameters
Virtual Machine Name |
String |
Yes |
Specifies the name of the virtual machine from which the virtual hard disk is to be deleted. |
Controller Type |
Radio Button |
Yes |
Specifies the type of the controller where the virtual hard disk is to be deleted. |
Current IDE Controller Number |
Number |
Yes |
Specifies the number of the controller from which the virtual hard disk drive is to be deleted. |
Current IDE Controller Location |
Number |
Yes |
Specifies the number of the location on the controller at which the virtual hard disk drive is to be deleted. |
Output Parameters
Result |
Number |
Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Virtual Machine Name |
String |
Yes |
Guest001 |
Controller Type |
Radio Button |
Yes |
IDE |
Current IDE Controller Number |
Number |
Yes |
1 |
Current IDE Controller Location |
Number |
Yes |
1 |