VMware Cloud Community
isuwill
Contributor
Contributor
Jump to solution

Obtain VM SCSI Card Adapter - Bus Logic or LSI Logic using Get-VM

Hello, I've been trying to find a quick way to determine which VMs in our ESX 3.5 / VC 2.5 are using the Bus Logic driver for the scsi card. I haven't had much luck. Anyone know of a way? Thanks.

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

This one-liner should do the trick

Get-View -ViewType VirtualMachine | Select Name,
	@{N="SCSI Controller"; 
	  E={($_.Config.Hardware.Device | where{$_.DeviceInfo.Label -match "SCSI"}).DeviceInfo.Summary}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

This one-liner should do the trick

Get-View -ViewType VirtualMachine | Select Name,
	@{N="SCSI Controller"; 
	  E={($_.Config.Hardware.Device | where{$_.DeviceInfo.Label -match "SCSI"}).DeviceInfo.Summary}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
isuwill
Contributor
Contributor
Jump to solution

That did the trick. Thanks.

0 Kudos