Hey All,
I need to export the list of sources on an eDiscovery search. I've tried these commands:
(Get-MailboxSearch -Identity "test 10 year hold") | Select-Object sourcemailbox | Export-Csv c:\hold.csv
The CSV file just shows this:
#TYPE Selected.System.Management.Automation.PSCustomObject |
sourcemailbox |
I've also tried this command:
(Get-MailboxSearch -Identity "test 10 year hold").SourceMailboxes | Export-Csv c:\10_Year_Hold.csv
But it just exports the lengths of the names.
Does anybody know how to just export the names out of an eDiscovery search? I'm thinking I need to do some string to object conversion maybe but I'm not sure.
Thanks!