Finding computer IP information

When we went through a subnet change, we found there were many systems with an incorrect default gateway manually entered into their IP information.

This a script I wrote to scan a subnet and dump the IP information to a .csv file.