Can someone help me in getting this script to pull the annotations field of the VM's please?
Get-Datacenter | Get-Datastore | Foreach-Object {
$ds = $_.Name
$_ | Get-VM | Select-Object Name,@{n='DataStore';e={$ds}}
} | Export-Csv C:\VMList.csv -NoTypeInformation -UseCulture