hi Luc,
can you please suggest what is wrong in following .it used to work fine numerous times in past but for some reasons not today.
$vms_info=Import-Csv -Path "c:\users\user1\desktop\folder1\vmnames.csv"
$vms.count
foreach ($line in $vms_info)
{
$vma=get-vm $line.vmname
$vma|select name
}
iam getting folowing