Help: export SPN (multi valued attribute)

How do I dump all multi valued attributes to a csv?

Import-Csv .\Servers.csv | % {Get-ADComputer -Server corp.com -Identity $_.name -properties servicePrincipalName |
    select name,@{Name='servicePrincipalName';Expression={[SPNs]::join(“;”, ($_.servicePrincipalName))}}}

I need to archive those SPNs

thanks

I found this: Exporting multivalued attributes with Export-CSV cmdlet – ShabazTech

Does the approach in that serves your purpose ? Or are you expecting any other suggestions/advice ?