Let's create a new PowerShell script and insert the below code. once you save the ps1 file.
create another file with extension .txt and put destination servers which do you want to ping and save that text file with the name "inputcomputers.txt" at the location where you save the ps1 file.
You can run the PowerShell with Task Scheduler or Simply run PS1 to get the ping report in "outputcomputers.log" ๐๐