Hi, i've been trying to figure this out. any help would be appreciated. i'm trying to query vcenter to only output windows vms with a particular network assigned. for instance, find all windows vms with "QA Network"
To get windows vms i got
get-vm | where {$_.guest.osfullname -like "*windows*"}
but cant figure out how to add the network part. I need the output to contain VMName,VMHost,PowerState,OS,Cluster,IPAdress,Pool (resource pool)
Thanks in advance.