Previous Topic: dpmhyperv AddVMNic Command--Add a Network Adapter Controller to a VMNext Topic: dpmhyperv AgentGet Command--Return an Agent Value


dpmhyperv AddVMSCSIController Command--Create a SCSI Controller for a VM

The dpmhyperv AddVMSCSCIController command creates a SCSI controller for a VM on a Hyper-V host.

This command has the following format:

dpmhyperv AddVMSCSIController 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] -hypervHost hostname 
-vm vm_name|-vguid vm_ID 
[-pre] 
[-post]
[-locale iso639value]
-ws_user username

(Optional) Specifies the CA Virtual Assurance user name.

-ws_password password

(Optional) Specifies the CA Virtual Assurance user password.

-ws_encrypted_password

(Optional) Indicates whether the CA Virtual Assurance password is encrypted.

-hypervHost hostname

Specifies the name of the Hyper-V host.

-vm vm_name

Specifies the VM name.

-vmguid vm_ID

Specifies the unique GUID of the VM.

-pre

(Optional) Generates an event before the operation is complete.

-post

(Optional) Generates an event after the operation is complete.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Create a New SCSI Controller for a VM on a Hyper-V host

This example creates new SCSI controller for the VM with the GUID, "38F29B6A-8CE2-42D2-8269-BFED14644376" on the Hyper-V host, "hserver."

dpmhyperv AddVMSCSIController 
-ws_user dcaadmin 
-ws_password #test# 
-hypervHost hserver 
-vmguid 38F29B6A-8CE2-42D2-8269-BFED14644376