Hi,
thanks for your reply. Can you help me to intigrate the code?

Now i use this code:

 Code:
$CPUDescription = WMIQuery("description","Win32_Processor")


Do i have to "Dim" $wmiColl, $wmiObj and $wmiObj.Name?

Sorry i´m new in scripting.

Greetz
Backfight

EDIT:

Think this is the right intigration:

 Code:
$wmiColl = GetObject("WinMgmts:root/cimv2").ExecQuery("Select * FROM Win32_Processor ")
For Each $wmiObj in $wmiColl
$CPUDescription = $wmiObj.Name	
Next
Sleep 5


Works for me :-)


Edited by backfight (2013-11-06 09:09 AM)