See if this works for you:
Get-ADComputer -Filter -SearchBase 'OU=Servers,OU=CONTOSO Computers,DC=contoso,DC=lan' -Properties Name, ManagedBy |
ForEach-Object{
[PSCustomObject]@{
Name = $_.Name
ManagedBy = (Get-ADUser $_.ManagedBy | Select -Expand mail)
}
} Export-CSV c:\junk\X.csv -NoTypeInformation
You may need to use Get-ADObject instead of Get-ADUser if the ManagedBy property contains the DN of an object other than a user.