I'm looking for a method to check what the SCSI hardware of a VM is and identify any servers that have virtualbuslogic. I'm trying via PowerCLI to make this happen although I'm not sure how to specify that I want to see just the servers with virtualbuslogic and to display the name of each server. At the moment when I run my code it gets me what SCSI hardware each VM is using but it doesn't specify the name of the VM.
Get-VM | Foreach-Object {Get-ScsiController -VM $_ }
What could I do in order to make this code specify the name of the servers and only display ones that have virtualbuslogic? That or is there any other way that may be built into vSphere that I'm not aware of to view the type of SCSI hardware for each VM (without manually going through each server in the edit hardware settings)?