title: Powershell: AuthorizationManager check failed (3 or more files) ("ExecutionPolicy": "RemoteSigned" or "Unrestricted")
body: <p>I have the problem when I try to excecute file 3 (auth_test2.ps1), then I get the error-message (and the output):</p>
  
  <pre><code>AuthorizationManager check failed.
  At C:\Users\systemCESCH\Documents\Workspace.\auth_test1.ps1:2 char:2
  + . &lt;&lt;&lt;&lt;  ($thisScript + '.\auth_test0.ps1')
      + CategoryInfo          : NotSpecified: (:) [], PSSecurityException
      + FullyQualifiedErrorId : RuntimeException
  
  auth_test1
  auth_test2
  </code></pre>
  
  <p>File 1 (auth_test0.ps1):</p>
  
  <pre><code>Write-Host "auth_test0"
  </code></pre>
  
  <p>File 2 (auth_test1.ps1):</p>
  
  <pre><code>$thisScript = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
  . ($thisScript + '.\auth_test0.ps1')
  
  Write-Host "auth_test1"
  </code></pre>
  
  <p>File 3 (auth_test2.ps1):</p>
  
  <pre><code>$thisScript = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
  . ($thisScript + '.\auth_test1.ps1')
  
  Write-Host "auth_test2"
  </code></pre>
  
  <p>The "ExecutionPolicy" is "RemoteSigned", "Unrestricted" makes no difference...
  I hope someone can help me solve the problem.</p>