title: PowerShell corrupted with Exception code: 0xc0000409
body: <p>I write a script calles <code>test_01.ps1</code> and try the following command:</p>
  <pre><code>powershell.exe -ExecutionPolicy remotesigned C:Temp\\psScript\\test_01.ps1
  </code></pre>
  <p>in cmd.</p>
  <p>PowerShell always corrupted with the following Event log:</p>
  <pre class="lang-none prettyprint-override"><code>Faulting application name: powershell.exe, version: 10.0.19041.546, time stamp: 0x7eda4115
  Faulting module name: webio.dll, version: 10.0.19041.1620, time stamp: 0x99fecee7
  Exception code: 0xc0000409
  Fault offset: 0x0000000000064558
  Faulting process id: 0x20f4
  Faulting application start time: 0x01d8ae142612cddd
  Faulting application path: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
  Faulting module path: C:\WINDOWS\SYSTEM32\webio.dll
  Report Id: 10a79226-9ef5-491a-938e-ba80aebc70d9
  Faulting package full name: 
  Faulting package-relative application ID: 
  </code></pre>
  <p><code>test_01.ps1</code> details:</p>
  <pre><code>$password = ConvertTo-SecureString &quot;5up&quot; -AsPlainText -Force
  $cred = New-Object System.Management.Automation.PSCredential(&quot;root&quot;,$password)
  invoke-command -computername &quot;192.168.2.254&quot; -credential $cred -scriptblock { ping.exe 192.168.2.1 -n 15 -l 32 }
  </code></pre>