$shell = new COM("WScript.Shell") or die("This thing requires Windows Scripting Host");
$registry_proxystring = $shell->RegRead
("HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Internet Settings\ProxyServer");
You can also use the RegWrite method to write
If you have any questions, please refer to related resources: [url]http://support.microsoft.com/ default.aspx?scid=kb;en-us;Q221081
[/url] (Source: Viphot)