Q: How to expand properties for multiple objects in Powershell and import the output to CSV I am trying to expand the properties for a couple of objects, but every time I try, it wont show the output as expected. 
Below is my script, would like to know what am I missing here 
$app = Get-Brokerapplication |
ForEach {
    new-object psobject -property @{
    Type =$_.ApplicationType;
    AssociatedFullName= ($_|select -Expand 
    AssociatedUserFullNames).AssociatedUserFullNames
}} 
$app | ft

Output:
Type AssociatedFullName                                               
                                                                            ---- ------------------                                                                  
                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop                                                       

                                                                 HostedOnDesktop


A: Using member access . expands the property. You're trying to expand the same property twice, which results in an empty value.
$app = Get-BrokerApplication |
         ForEach-Object {
             New-Object -TypeName 'PSObject' -Property @{
               Type = $_.ApplicationType
               AssociatedFullName = $_.AssociatedUserFullNames
             }
         }
$app | Format-Table

