PowerShell: Ping IP range


Some you need to know which IP in a specific range is already in use. With Windows PowerShell there is a simple way to ping a IP range.

You can use the .Net class System.Net.Networkinformation.Ping to do this.

You can also have a look at the new Test-Connection or Test-NetConnection PowerShell cmdlets.