VMware Cloud Community
scottcardinal
Contributor
Contributor

powercli for collection of linux only vm's that have paravirtual scsi drivers configured

howdy

i was looking to collect this per virtual center if this is possible. can anyone please help me out on this?

thanks!

0 Kudos
2 Replies
LucD
Leadership
Leadership

You could try something like this.

It could be that the guest OS test needs to be extended for some specific Linux distributions

Get-Vm |

where{$_.ExtensionData.Config.GuestFullName -match 'linux' -and (Get-ScsiController -VM $_ | where{$_.Type -eq 'ParaVirtual'})} |

Select Name


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

0 Kudos
scottcardinal
Contributor
Contributor

thank you so much i'll try this!

0 Kudos