there is problem in code by kdyer.
the line of:
$objNetwork = WScript.CreateObject("WScript.Network")

should actually be:
$objNetwork = CreateObject("WScript.Network")
_________________________
!

download KiXnet