VMware Horizon Community
MaorZo
Contributor
Contributor

VDI Machines Refresh Time Stamp

Hi,

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.

Thanks.
0 Kudos
1 Reply
asajm
Expert
Expert

Hi MaorZo

Look

[SOLVED] VMWare View: Script to Determine Number of Available VMs - Spiceworks

If you think your queries have been answered
Marking this response as "Solution " or "Kudo"
ASAJM
0 Kudos