title: Change "Windows font size (DPI)" in PowerShell?
body: <p>I'm using a laptop at office (Windows 7) with a station and double screen and at home without station.</p>
  
  <p>The point is I have to change text size each time I switch from station to standlone laptop, because the text size is too big on my double screen, but too small on my laptop screen.</p>
  
  <p>To proceed:
  I right-click on desk screen, choose change resolution then "get text and other elements bigger or smaller" to choose 100%, 125%, etc...
  I need to restart my session to get the settings applied.
  (Note: I'm using a French system, and texts are not exactly the same on us version I suppose).</p>
  
  <p>It's not very convenient so I'd like to automate this, perhaps with a PowerShell script.</p>
  
  <p>Ideally the script may detect if I'm using laptop alone or station with its two screens). Plus, without session restart (I doubt this last point is feasible).</p>
  
  <p>How do I get started? If this is possible.</p>