Combine 2 PowerShell arrays
<p>I'm trying to figure out how to combine 2 arrays as explained <a href="https://blogs.technet.microsoft.com/heyscriptingguy/2013/04/27/powertip-add-two-powershell-arrays-together/" rel="nofollow">here</a> by Microsoft.</p>

<pre><code>$Source = 'S:\Test\Out_Test\Departments'
$Array = Get-ChildItem $Source -Recurse

$Array.FullName | Measure-Object # 85
$Array.FullName + $Source | Measure-Object # 86
$Source + $Array.FullName | Measure-Object # 1
</code></pre>

<p>The following only has 1 item to iterate through:</p>

<pre><code>$i = 0
foreach ($t in ($Source + $Array.FullName)) {
    $i++
    "Count is $i"
    $t
}
</code></pre>

<p>My problem is that if <code>$Source</code> or <code>$Array</code> is empty, it doesn't generate seperate objects anymore and sticks it all together as seen in the previous example. Is there a way to force it into separate objects and not into one concatenated one?</p>