title: Why is my PowerShell multi dimensional array being interpreted as a 1 dimensional array?
body: <p>I have the following code:</p>
  
  <pre><code>function HideTemplates($File, $Templates)
  {
    foreach ($Template in $Templates)
    {
      Write-Host $Template[0] $Template[1] $Template[2]
    }
  }
  
  HideTemplates "test.xml" @(("one", "two", "three"))
  HideTemplates "test.xml" @(("four", "five", "six"), ("seven", "eight", "nine"))
  </code></pre>
  
  <p>It prints:</p>
  
  <pre><code>o n e
  t w o
  t h r
  four five six
  seven eight nine
  </code></pre>
  
  <p>I want it to print:</p>
  
  <pre><code>one two three
  four five six
  seven eight nine
  </code></pre>
  
  <p>Am I doing something wrong in my code?  Is there a way to force PowerShell to tread a multi-dimensional array with a single item differently?</p>