title: Not Recognizing Script Name as cmdlet, function, etc; nor can positional perameter be found on simple script
body: <p>I am trying to do my first script. To simply get PowerShell to pull up a script typed up in notepad and saved as a .ps1 file titled "test" (have also tried Script, but know names have nothing to do with it):</p>
  
  <pre><code>Write-Host "Hello, World!"
  </code></pre>
  
  <p>In PowerShell I am typing </p>
  
  <pre><code>&amp; "C:\Scripts\test.ps1"
  </code></pre>
  
  <p>As well as</p>
  
  <pre><code>./test.ps1
  </code></pre>
  
  <p>And am only met with this:</p>
  
  <pre>./test.ps1.txt : The term './test.ps1.txt' 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.
  At line:1 char:1
  + ./test.ps1.txt
  + ~~~~~~~~~~~~~~
      + CategoryInfo: ObjectNotFound: (./test.ps1.txt:String) [], CommandNotFoundException</pre>
  
  <p>Have tried renaming the file within PowerShell with</p>
  
  <pre><code>PS C:\Scripts&gt; Rename-Item test.ps1.txt test.ps1
  </code></pre>
  
  <p>I have switched between <code>RemoteSigned</code> and <code>Unrestricted</code>, I have tried a code including <code>executionpolicy bypass</code> (I do apologize, I closed my window without writing that one down). As far as I know everything is up to date and I am running Windows 10, Windows PowerShell, and regular Windows Notepad.</p>