Previous Topic: dpmhv-addVMNic (Cmdlet) Command--Add a Network Interface Controller to a VMNext Topic: dpmhv-changeVMState (Cmdlet) Command--Change the State of a VM


dpmhv-addVMSCSIController (Cmdlet) Command--Add SCSI Controllers to a VM

The dpmhv-addVMSCSIController command lets you add up to four SCSI Controllers to a VM. You can add up to 64 disks to a SCSI controller.

This command has the following format:

dpmhv-addVMSCSIController 
-host hostname 
-vm vmname|-vmid vmguid 
[-retval]
[-silent]
-host hostname

Specifies the name of the Hyper-V server host.

-vm vmname

Specifies the name of the VM.

-vmid vmguid

Specifies the unique ID of the VM.

-retval

Returns a value for further processing.

-silent

Specifies not to direct the output to the screen.

Example: Add SCSI Controllers to a VM

This example adds a SCSI Controller to the VM, " TestVM."

dpmhv-addVMSCSIController -host hvserver -vm TestVM