I'm trying again here...
I'm struggling almost a week to find a way to query the ADAM Database or any other way, to get a list of all the VMs with their last time that they have been refreshed.
I can't find the way to achieve that with vmware.hv.helper.
I found in the ADAM database, under a vm properties, an Attribute called "pae-SVIVmRefreshed" with a time stamp but i can't figure out how do i make a connection to the database from PS command.
My goal is to build a script that query the database for the last refresh time and then send a refresh command to those who refreshed more than 7 days.