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