title: PowerShell output without function
body: <p>I try to write a PowerShell Script, but everytime I run it I get some output although I don't use a function which generates any output.</p>
  
  <p>This is my code:</p>
  
  <pre><code>$givenName = @()
  
  Import-Csv -Path H:\test2.csv -Delimiter ";"
  ForEach-Object {
      $givenName = $_.name.split()[0]
  }
  </code></pre>
  
  <p>Output:</p>
  
  <pre>
  Name         Phone Number
  ----         ------------
  Peter Maier  123123
  Paul Paulsen 465456
  </pre>