Quantcast
Channel: VMware Communities : All Content - VMware PowerCLI
Viewing all articles
Browse latest Browse all 16717

How to determine when a snapshot was last used?

$
0
0

We have a number of VMs which are used as development systems. Each has multiple snapshots, some of which are quite old. I can get a list of snapshot-related events for a VM, which will show when a VM was reverted to a snapshot:

 

Get-VM $vmname | Get-VIEvent -MaxSamples 100000 | ? {$_FullFormattedMessage -match "snapshot" -and $_.FullFormattedMessage -match "Task:"}

 

However, this does not show which snapshot was reverted to. Is there any way to find this information?


Viewing all articles
Browse latest Browse all 16717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>