I am attempting to ouput some data Im pulling from ActiveDirectory into a CSV but the output is not what I am expecting. How do I export these hashtables value into a CSV? I have no doubt there is a simple answer to this but my google fu seems to be failing me today.

```
    foreach ($user in $user_data)
        {
            @{ name = 'DisplayName'; expression = { $user.DisplayName } },
            @{ name = 'Email'; expression = { $user.EmailAddress } },
            @{ name = 'AccountName'; expression = { $user.SamAccountName } },
            @{ name = 'Description'; expression = { $user.Description } },
            @{ name = "PasswordLastSet"; expression = { [datetime]::FromFileTime($user.pwdLastSet) } },
            @{ name = 'Staff Number'; expression = { $user.pager } },
            @{ name = 'LastBadPasswordAttempt'; expression = { $user.LastBadPasswordAttempt } },
            @{ name = 'LastLogonDate'; expression = { $user.LastLogonDate } },
            @{ name = 'logonCount'; expression = { $user.logonCount } },
            @{ name = 'Enabled'; expression = { $user.Enabled } } |
            Export-Csv $path2 -Append -NoTypeInformation
        } 

```