In this video a small powershell script is used to move the mouse pointer programmatically after specific duration of time.
Code Snippet -:
Clear-Host
Echo "Moving mouse..."
Add-Type -AssemblyName System.Windows.Forms
$PlusOrMinus = 50
while ($true)
{
$p = [System.Windows.Forms.Cursor]::Position
$x = $p.X + $PlusOrMinus
$y = $p.Y + $PlusOrMinus
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y)
Start-Sleep -Seconds 10
$PlusOrMinus *= -1
}