> thanks Tom,
> ya, I just tried what I thought would be alternatives and as you already
> siad, it doesn't work. I find it laborious as well but the info obtained
> great... as for the main reason of my post, I find the whole for each loop
> unclear when you know you are just going to get one thing.
As Tom said, th whole WMI system is very poorly
designed. I've never used very much of WMI, since a
good deal of it is just tedious wrappers around better
functionality. WMI is good for some things. Especially
hardware info. But the people at MS apparently thought
it was clever to structure the whole thing like SQL, so
even for something like the system motherboard you
have no choice but to loop through a dummy "collection".