Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: Power CLI command for Parav Servers

$
0
0

I assume you are looking for VMs that have a ParaVirtualSCSIController ?

If yes, you could do something like this

 

Get-VM|
Select
Name,
@{N="PV";E={($_.ExtensionData.Config.Hardware.Device|    where {$_.GetType().Name-eq"ParaVirtualSCSIController"}) -ne$null}} 

If you also want to report on the paravirtualized NIC, you can do

 

Get-VM  |
SelectName,
@
{N="PVController";E={($_.ExtensionData.Config.Hardware.Device|    where {$_.GetType().Name-eq"ParaVirtualSCSIController"}) -ne$null}},
@
{N="PVNic";E={($_.ExtensionData.Config.Hardware.Device|    where {$_.GetType().Name-eq"VMXNET3"}) -ne$null}}     

Viewing all articles
Browse latest Browse all 252940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>