Thursday, May 6, 2010

PSEXEC to run Ipconfig on multiple servers remotely

First you'll need to get pstools which is free and then run:

psexec @serverlist.txt -n 30 ipconfig /all > output.txt

I put the -n 30 in there so it does timeout after a finite period but the amount of time can be changed based on your environment.

1 comment:

Leslie said...

I read your blog.