here's the scenario...

I'm using the same notebook for both office and home. In office, I need to connect to the internet via a proxy server. At home, I do not.

Does anyone knows how to write the script such that IE is able to automatically configure the proxy settings based maybe on network segment?