This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define the list of target IP addresses | |
$pingTargetIps = "10.20.255.254", "10.20.2.1" | |
# Define the folder where the log files will be generated | |
$logFolder = "C:\Users\my_user\ping_logs" | |
echo "Prearing ping jobs..." | |
$scriptBlock = { | |
param ($ipAddress,$logFolder) | |
$ipAddressReplaced = $ipAddress.Replace(".","_") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
using System.Windows.Forms; | |
namespace Game | |
{ | |
public class Form1 : Form | |
{ | |
// Declare the objects we will use | |
public Button button1; |