Ledger Nano X - The secure hardware wallet
SHARE
TWEET

tp audit

jessebaga Apr 1st, 2020 (edited) 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $audi_test = 1..254 | %{"172.16.1.$($_): $(Test-Connection -Count 1 -comp 172.16.1.$($_) -quiet)"} #permet de scanner les adresse ip de la .1 à la .254
  2.  
  3. $i=172.16.1.1 #variable de la première adresse IP
  4. $mon_add_ip = 172.16.1.20 #variable de mon add ip
  5.  
  6. do {
  7.     $audi_test++ #incrémentation de l'add ip
  8.     Write-Host $audi_test #affichage de la valeur de la variable
  9.  
  10. }while ($audi_test -eq $mon_add_ip) #jusqu'à que la valeur de $audi_test soit égale à mon add ip
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top