PowerShell Logo Small

Get-VMScsiController



This is the built-in help made by Microsoft for the command 'Get-VMScsiController', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets the SCSI controllers of a virtual machine or snapshot.

SYNTAX


Get-VMScsiController [-VMName] <String[]> [[-ControllerNumber] <Int32>] [-ComputerName <String[]>] [<CommonParameters>]
Get-VMScsiController [-VM] <VirtualMachine[]> [[-ControllerNumber] <Int32>] [<CommonParameters>]
Get-VMScsiController [-VMSnapshot] <VMSnapshot> [[-ControllerNumber] <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-VMScsiController cmdlet gets the SCSI controllers of a virtual machine or snapshot.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=306872

REMARKS

<

Examples


Example 1

PS C:\>Get-VMScsiController -VMName TestVM -ControllerNumber 0



Gets SCSI controller 0 from virtual machine TestVM.




Example 2

PS C:\>Get-VM –Name TestVM –ComputerName Development | Get-VMScsiController



Gets the SCSI controllers from virtual machine TestVM on Hyper-V host Development.




Example 3

PS C:\>Get-VMSnapshot –VMName TestVM –Name 'Before applying updates' | Get-VMScsiController



Gets the SCSI controllers from snapshot Before applying updates of virtual machine TestVM.