Link to home
Start Free TrialLog in
Avatar of gd6627
gd6627Flag for United States of America

asked on

Ping a server repeatdely every minute

I need a powershell script that will excute a ping command to a specific server with an adjustable time window . Like for example I may want to increase the window to ping every 1  minute or 5 minutes. The script will run froma task sequence using windows task manager .

It needs to be a powershell script so that I can have consistency if I need to do it on more servers . Please help
SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gd6627

ASKER

Hello Joe how do i make this work Where do I define the server? and how can i run this from a task manger on windows server?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The original question is for a PowerShell script that pings a specific server with an adjustable time window. A follow-on question is how to specify the server. I selected two posts that answer those questions as the Accepted Solution and an Assisted Solution, and gave them the lion's share of the points. But another post presented an interesting caveat about such an approach and is worthy of some points as an Assisted Solution.