title: Windows Sandbox PowerShell logon command window not visible
body: <p>I'm trying to use Windows Sandbox with a PowerShell logon command. This is the <code>LogonCommand</code> section of my WSB file:</p>
  <pre class="lang-xml prettyprint-override"><code>  &lt;LogonCommand&gt;
      &lt;Command&gt;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe -executionpolicy unrestricted -file &quot;C:\\Users\\WDAGUtilityAccount\\Desktop\\boot.ps1&quot; -noexit&lt;/Command&gt;
    &lt;/LogonCommand&gt;
  </code></pre>
  <p>The Windows Sandbox instance loads up okay suggesting no syntactic/validation issues with the WSB file content, but the PowerShell window is not shown. Adding <code>-windowstyle normal</code> has no effect.</p>
  <p>I suspect the <code>LogonCommand</code> content is run in a command prompt which is not made visible so running the command to open PowerShell from it somehow &quot;inherits&quot; the terminal window not being visible.</p>
  <p>Is it possible to force the PowerShell terminal window to reveal itself in such a case? I want to do this so that I can see the errors that I get because the PowerShell script is not executing as expected and I'm blind to any output/progress indication.</p>