title: Start-Process -WindowStyle Maximized doesn't maximize window
body: <p>It seems that:</p>
  
  <pre><code>Start-Process -WindowStyle Maximized 'C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE'
  </code></pre>
  
  <p>starts OneNote in a window style regardless the parameter is <code>Maximized</code> or <code>Minimized</code>:</p>
  
  <ul>
  <li>If the last time is <strong>normal</strong> or <strong>maximized</strong>, then it will open normal or maximized</li>
  <li>If the last time is <strong>minimized</strong>, then it will open normal</li>
  </ul>
  
  <p>Do you know why? I have version 6 on my Windows 7 32-bit machine.</p>
  
  <p><br></p>
  
  <p><sup>From Windows Docs: <a href="https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-process?view=powershell-6#optional-parameters" rel="nofollow noreferrer">Start-Process</a></sup></p>