Question : Configure from static IP to DHCP remotely w/o loging on remotely

I want to change a computer that is configured with a static IP address to DHCP,  I'd like to know a way to do this remotely, I don't want to have to log on to every system remotely, I need to be able to do this on a individual computer, one at a time. I'm thinking of a program like psexec or maybe a script I can place on a computer and restart the computer to run the script? Does anyone know how I can do this?

Server 2003 environment, single domain, all computers are XP Pro.

Thank you,

Answer : Configure from static IP to DHCP remotely w/o loging on remotely

I figured it out:
Using PSEXEC go onto the remote computer and in dos use the following command:

netsh
netsh>interface ip set address name="Local Area Connection" source=dhcp

Works great.
Random Solutions  
 
programming4us programming4us