title: Writing a powershell array object to a single cell in an excel sheet
body: <p>I have a powershell variable of type array defined as<code>$a = ("1","2","3","4","5","6","7")</code>. I want to write all the contents of <code>$a</code> to a single cell in an excel sheet.
  These are what I have tried so far:-
  (i) <code>$sheet.cells.Item(5,5) = $a</code> - Prints only the first value i.e. 1 to the cell.
  (ii)<code>$sheet.cells.Item(5,5) = "$a"</code> - Prints the output in a horizontal format like <code>1 2 3 4 5 6 7</code> in a single cell(E5) where as I want the output to be like </p>
  
  <pre><code>1
  2
  3
  4
  5
  6
  7
  </code></pre>
  
  <p>(iii) <code>foreach ($i in $a){
  $sheet.cells.Item(5,5) = $a[$i]}</code> - Doesn't return anything on the excel sheet.</p>
  
  <p>Is there a way in powershell by which I can achieve the desired output?</p>