When i open the export below in excel, all i can see for MemberOf is System.String[]. How can i show each member with the name, description, userprincipalname next to it?
$Accounts | Get-QADUser | ft name, description, UserPrincipalName, memberOf | Export-Csv C:\Temp\Useraccounts.csv
Try this:
Some info for ‘calculated property’ here
Some info for ‘why-can-t-i-pipe-format-table-to-export-csv-and-get-something-useful’