code:
$os=readvalue('\\123.123.123.123\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion',
'ProductName')

should work. Alternatively, you might be able to use WMI and the IP address instead of the computer name.

[ 15. November 2002, 22:35: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.