never-displayed
View discussion in a popup
That would mean that the variable $VmInfo is empty ?
Try displaying the result on screen, remove the Export-Csv cmdlet at the end.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference