Look up in this thread at post #155588 that will make more sense with what I'm actually trying to do and the error I am getting. I'm trying to loop through a text file of machine names to get their serial number using WMI.