Avatar of Dwight Baer
Dwight Baer
Flag for Canada

asked on 

I need a good basic sample Powershell loop script

I haven't written any Powershell scripts for a few years, and even then my scripting was basic.

I need an example of a Powershell script that walks through about 20 hosts (either by hostname or IP address) and just pings them - waiting for a couple of seconds between each one.

A simple loop - to get me started doing this again.

Thanks
PowershellWindows 10AzureWindows Server 2016

Avatar of undefined
Last Comment
Dwight Baer

8/22/2022 - Mon