Advertisement
YanissNaidja

Untitled

Apr 2nd, 2020
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $borne= 1..254 # Une varbiable bornant entre 1 et 254
  2. ForEach ($chiffre in $borne) # Boucle pour verifier chaque adresse
  3. {
  4.     Test-Connection -ComputerName "10.10.0.$chiffre" -Count 1
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement