for(1) { $aleatorio = Get-Random (1..100000) Start-Sleep -Seconds 5 [System.Windows.Forms.SendKeys]::SendWait($aleatorio) [System.Windows.Forms.SendKeys]::SendWait("{ENTER}") }
Ejercicios de PowerShell: escribir un número aleatorio cada 5 segundos de forma continuada (PowerShell, Automatización)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.