title: Call PowerShell script PS1 from another PS1 script inside Powershell ISE
body: <p>I want call execution for a myScript1.ps1 script inside a second myScript2.ps1 script inside Powershell ISE.</p>
  
  <p>The following code inside MyScript2.ps1, works fine from Powershell Administration, but doesn't work inside PowerShell ISE:</p>
  
  <pre><code>#Call myScript1 from myScript2
  invoke-expression -Command .\myScript1.ps1
  </code></pre>
  
  <p>I obtain the following error when I execute MyScript2.ps1 from PowerShell ISE:</p>
  
  <blockquote>
    <p>The term '.\myScript1.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.</p>
  </blockquote>