title: Select-Object returns the first result as my column name instead of as a result
body: <p>The following script checks mailboxes in a specified OU for users with the default permission set to Owner. I have tried everything to add the column &quot;Name&quot; from the variable <code>$Mailbox</code> to the Select-Object results in the following code. The result will add a column header with the first results name as the header. If there are multiple results the first name found will be the column header with the column blank for the others. Is there a way to add the &quot;Name&quot; column from the variable <code>$Mailbox</code> to the Select-Object results?</p>
  <pre><code>$AllMailBox = Get-Mailbox   -OrganizationalUnit &quot;XXXXXXXXXX.com/DomainUsers/Users&quot; -resultsize unlimited
  ForEach ($MailBox in $AllMailbox) {Get-mailboxfolderpermission $Mailbox | Where-object {$_.User -match &quot;Default&quot; -AND $_.AccessRights -match &quot;Owner&quot;} | Select-Object  Identity, AccessRights, $MailBox.Name} 
  </code></pre>