Ping Script Help

Home Forums Scripting DOS Command Shell Ping Script Help

This topic contains 3 replies, has 4 voices, and was last updated by tehcamel tehcamel 5 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Avatar
    pandookie
    Member
    #163792

    Hello,

    I am looking for help in creating a script that will ping a series of IP addresses or host names and then have it output a list of unreachable hosts.

    I am new to scripting and am just looking for a easier way to perform this task other than manually pinging and noting the hosts that I am unable to reach.

    ping xxxx.xxxx.xxxx.xxxx

    if host unreachable

    then >> word doc

    tehcamel
    tehcamel
    Moderator
    #359705

    Re: Ping Script Help

    do you want to ping a whole subnet, for example ?

    there’s plenty of scripts that do gthat for powershell, even for cmd scripting.

    it wouldn’t be too difficult to run it with import-csv to pick the hostnames from a csv file, then output to a csv file.

    Avatar
    wullieb1
    Moderator
    #244760

    Re: Ping Script Help

    Does it have to be in a command prompt?

    I have a HTA script that run and will try and ping specific hosts then pops up with a screen telling what is available and what is not.

    I can’t remember where I got it.

    Avatar
    uk_network
    Member
    #307916

    Re: Ping Script Help

    Another way would be to use angry ip scanner and export the dead hosts to txt, csv or xml.
    http://angryip.org/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.