title: How to use the @ character in PowerShell
body: <p>I am trying to do the following - for each *.sql file in the current directory run</p>
  
  <pre><code>sqlplus username/password@connect_identifier_specified_in_argument @file_name
  </code></pre>
  
  <p>Here is what I have so far:</p>
  
  <pre><code>$scripts = dir *.sql
  foreach($script in $scripts) {
      Write-Host sqlplus username/password"@"$args "@"$script.Name
  }
  </code></pre>
  
  <p>(I know Write-Host outputs it to the screen; I'm just trying to debug for now.)</p>
  
  <p>However, there is something funky with how PowerShell treats the <code>@</code> character and when I run this I always get something like:</p>
  
  <pre><code>PS C:\code\scripts&gt; C:\utils\run_sql_scripts_on.ps1 identifier
  sqlplus username/password@identifier @ ALERTS.sql
  </code></pre>
  
  <p>See that space after the "@"? What gives?</p>