The script uses a CSV file as input.
The Import-Csv cmdlet reads the file into variable $vms, then we loop through all the rows in $vms.
The $vm variable represents 1 row from the CSV file in the script.
And you address the different columns by using the columnname (tVMHost, tVLAN...) as the propertyname on the $vm variable.