Does anyone know how to extract the DateCreated for vApps and VMs via PowerCLI? The dates are readily available in the DB in dbo.vms, but i can't seem to dig it out via PowerCLI.
I've found some excellent examples of other folks digging data via vCD api:
$appview = Get-CIView -CIObject $vapp
$leaseSection = $appView.Section | where {$_ -is [VMware.VimAutomation.Cloud.Views.LeaseSettingsSection]}
$created = $appView.Section | where {$_ -is [VMware.VimAutomation.Cloud.Views.LeaseSettingsSection]}
And believe this object contains the CreateDate for the VM:
VMware vCloud Director Documentation Center
Thanks in advance