Fixes #8788 - DHCP not detecting pingable addresses on Windows

Creates a Windows specific ping command and outputs to NUL.  Otherwise defaults to a Linux style ping.
AFAIR this used to work on windows, did the syntax changed based on the OS version? e.g. do we need to have another condition based on the windows version?