while($true){ .\nircmd.exe movecursor 1 1 .\nircmd.exe movecursor -1 -1 Start-Sleep -Seconds 30 }