New-ScsiController Command | Vmware PowerCLI Reference


This cmdlet creates a new SCSI controller.


-HardDisk < HardDisk >
[ [-Type ] < ScsiControllerType > ]
[ [-BusSharingMode ] < ScsiBusSharingMode > ]


Required Parameter Name Type Position Features Description
HardDisk HardDisk named
  • pipeline
Specifies the hard disk you want to attach to the new SCSI controller. Passing multiple values to this parameter is obsolete.
optional Type ScsiControllerType 1
Specifies the type of the SCSI controller. The valid values are ParaVirtual, VirtualBusLogic, VirtualLsiLogic, and VirtualLsiLogicSAS.
optional BusSharingMode ScsiBusSharingMode 2
Specifies the bus sharing mode of the SCSI controller. The valid values are NoSharing, Physical, and Virtual.




Example 1

$vm = Get-VM VM | New-HardDisk -CapacityKB 10485760 | New-ScsiController

Creates a new 10GB hard disk and a new SCSI controller with default values for the BusSharingMode and Type properties.

Example 2

$disk = Get-HardDisk -VM VM | Select -First 2
$disk | New-ScsiController -BusSharingMode Physical -Type VirtualLsiLogicSAS

Creates for the first two hard disks of VM a new SCSI controller of VirtualLsiLogicSAS type and with Physical bus sharing mode.

Related Commands


This cmdlet retrieves the virtual SCSI controllers assigned to the specified HardDisk, VirtualMachine, Template, and Snapshot objects.

This cmdlet creates a new SCSI controller.

This cmdlet modifies the specified SCSI controllers.


This cmdlet retrieves the SCSI devices available on the vCenter Server system.

This cmdlet modifies the configuration of a SCSI device.


This cmdlet retrieves the list of vmhba paths to a specified SCSI device.

This cmdlet configures a vmhba path to a SCSI device.