Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2014
    Posts
    7

    Unanswered: Run Shell Script in windows files

    I have the IP address (unix servers) and port no of nodes (more than 50 nodes) in the notepad in my windows PC and now I want a shell script that would ping these IP and record those results in a notepad in my PC.

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    I'd write a PowerShell script using Test-NetConnection. Depending on how much of the ping output you need and how fancy you want it formatted, this could easily be a ten line PowerShell script.

    -PatP
    In theory, theory and practice are identical. In practice, theory and practice are unrelated.

  3. #3
    Join Date
    Sep 2013
    Location
    India
    Posts
    246
    You can try plink.exe i am using it for such purpose to communicate with AIX servers.
    ssumit

  4. #4
    Join Date
    Jul 2014
    Posts
    7
    Thank you for the reply.....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •