Advertisement
illagrenan

Untitled

May 2nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while($true)
  2. {
  3.     Write-Host "Starting cycle $i"
  4.     $i++
  5.  
  6.     for($i=1
  7.       $i -le 10
  8.       $i++){
  9.     & 'C:\tools\Devcon.exe' /Rescan
  10.     Start-Sleep -Milliseconds 5000
  11.   }
  12.  
  13.   Start-Sleep -Milliseconds 50000
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement