# Press Ctrl key between 15-30 seconds random interval Add-Type -AssemblyName System.Windows.Forms while ($true) { [System.Windows.Forms.SendKeys]::SendWait("^") $seconds = Get-Random -Minimum 15 -Maximum 30 Start-Sleep -Seconds $seconds }