combine arrays get-pwusersbymatch

this is a powershell question , I guess, not specifically projectwise . I need to repeat get-pwusersbymatch in a loop to combine users in an array .

This attempt below does not work, array length is 1 ...

Why? what have I missed?

Thanks for your patience,

Kevin B.

$ul = Get-PWUsersByMatch -UserName 'user1'
$u = Get-PWUsersByMatch -UserName 'user2'
$ul = $ul + $u
$u = Get-PWUsersByMatch -UserName 'user3'
$ul = $ul + $u
'Total: ' + $ul.length.ToString()