Connect

Used to create a Connection to the registry of the specified machine.

Syntax

Connect (IP or Netbios name)

Returns

Registry Object.

Example

This script Gets the version of Internet Explorer by reading it directly from the registry:

Function Main

Dim Ro As Object

Dim ie_version as string

Set Ro = Registry.Connect("127.0.0.1")

ie_version = ro.Read("SOFTWARE\Microsoft\Internet Explorer\Version Vector", "IE")

echo "IE Version is " + ie_version

End Function