Previous Topic: dpmhv-showVMNICs (Funclet) Command--Show all Network Interface CardsNext Topic: dpmhyperv ShowVMs (Funclet) Command--Get all VMs


dpmhv-showVMSCSI (Funclet) Command--Show all SCSI Controllers

The dpmhv-showVMSCSI command displays all SCSI controllers in the VM on a Hyper-V host. You can assign up to four SCSI controllers to a Hyper-V server.

This command has the following format:

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

Specifies the name of the VM.

-vmid vmguid

Specifies the unique ID of the VM.

-host hostname

Specifies the name of the Hyper-V server host.

-retval

Returns a value for further processing.

-silent

Specifies not to direct the output to the screen.

-detail

(Optional) Displays the details of the list of SCSI Controllers.

Return Value

The dpmhv-showVMSCSI command returns an array of objects representing the SCSI controllers of the specified VM.

The following properties are returned in regular mode:

The following properties are returned in detail mode:

Example: Show all SCSI Controllers

This example displays the basic details of all SCSI controllers of the VM, "TestVM" on the host, "hvserver."

dpmhv-showVMSCSI 
-host hvserver 
-vm TestVM

Example: Show all SCSI Controllers in Detail

This example displays the details of the SCSI controllers of the VM, "TestVM" on the host, "hvserver."

dpmhv-showVMSCSI -host hvserver -vm TestVM -detail