I export data to csv, and for some reason @ {} is being migrated. Here is an example script.
Get-VM VM | Select Name, @{N="DSFree";E={$_ | Get-Datastore | Select FreeSpaceMB }} | Export-Csv c:\temp\info.csv
The output of the DSFree column is as follows: @ {FreeSpaceMB = 686704}
How can I stop @ {} when exporting?
Thanks in advance.
source share