View Single Post
  #7 (permalink)  
Old October 23rd, 2003, 03:10 AM
pgtips pgtips is offline
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Its because the script has "Option Explicit" at the start, you are forced to declare all variables. Just add objWMIService to the list of declared variables (that's the Dim statement on line 2).
Reply With Quote