![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Re: querying wmi - recommended structure when iteration seems unnecessary? Quote: > 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 Quote: > 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. 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". |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Querying for yesterday's events | PowerShell | |||
| Running file iteration and other scripts under Vista security. How | VB Script | |||
| Querying a file group on Exchange Server | PowerShell | |||
| Querying for a COM Interface | PowerShell | |||
| Unnecessary message | Vista mail | |||