One of the lines near the top got broken in posting.
Set colItems = objWMIService.ExecQuery("Select * From
Win32_OperatingSystem")
should all be on a single line in your script with a single space between
"From" and "Win32_".
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.