Quote:

Quote:

$id = WMIQuery('Name','Win32_ComputerSystem',$computer)

for each $proc in $id
? $proc
next




What is that supposed to do? When I run it, it returns my workstation name.




This works just fine... It is what we use in SIM
_________________________
How to ask questions the smart way <-----------> Before you ask