powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Set-ScsiController



NAME
Set-ScsiController

SYNOPSIS
Modifies the specified SCSI controllers.

SYNTAX
Set-ScsiController [-ScsiController] [-BusSharingMode ] [-Type erType>] [-WhatIf] [-Confirm] []


DESCRIPTION
Modifies the specified SCSI controllers. Set-ScsiController cannot set both the Type and BusSharing parameters at t
he same time. First run the cmdlet to set the type and then run it again to configure the bus sharing mode.


PARAMETERS
-ScsiController
Specify the SCSI controller you want to modify.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

-BusSharingMode
Specify the bus sharing mode of the SCSI controller. The valid values are NoSharing, Physical, and Virtual.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Type
Specify the type of the SCSI controller. The valid values are ParaVirtual, VirtualBusLogic, VirtualLsiLogic, an
d VirtualLsiLogicSAS.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf
Indicate that the cmdlet is run only to display the changes that would be made and actually no objects are modi
fied.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm
If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false,
the cmdlet runs without asking for user confirmation.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
ScsiController


NOTES




-------------- Example 1 --------------

C:\PS>Get-ScsiController -VM VM | Set-ScsiController -BusSharingMode Physical


Configures the bus sharing mode of the SCSI controllers of a virtual machine to Physical mode.





-------------- Example 2 --------------

C:\PS>$scsiController = Get-HardDisk -VM VM | Select -First 1 | Get-ScsiController

Set-ScsiController -ScsiController $scsiController -Type VirtualLsiLogic


Changes the type of the SCSI controller of the first hard disk of the VM virtual machine to VirtualLsiLogic.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Set-ScsiController.html
Get-ScsiController
New-ScsiController