well, if it's just a writevalue thingie...

$computernamelist ;you can collect this
for each $computer in $computernamelist
$returncode=writevalue("\\"+$computer+"\HKLM\mykey","myvalue","myvaluedata","REG_SZ")
next
_________________________
!

download KiXnet