title: powershell mouse move does not prevent idle mode
body: <p>Before I start, here is my very first little code I wrote in PowerShell :)</p>
  
  <pre><code>[System.Windows.Forms.Cursor]::Position = `
      New-Object System.Drawing.Point($pos.X, ($pos.Y - 1))
  [System.Windows.Forms.Cursor]::Position = `
      New-Object System.Drawing.Point($pos.X, $pos.Y)
  </code></pre>
  
  <p>What do I want to achieve?</p>
  
  <p>Well, I want to move the mouse cursor every 4 minutes to prevent the screensaver from appearing (every second in the code above for testing). The code does really move the mouse every time one pixel up and then down immediately.
  The thing is, the screensaver (or idle mode of windows) is still appearing.</p>
  
  <p>Now, I am learning PowerShell and I have little experience with the Windows architecture.</p>
  
  <p>Does anybody see my mistake?
  I would appreciate an answer a lot! :D
  Thanks in advance.</p>