I'm looking for a powerCLI script that will create a log of storage vmotions done for the month. I think it will involve using Get-ViEvent but not sure how to corelate the VM name, source datastore, destination datastore, and date into one report. Ideally I would like to see it like this.
Date, VM Name, Source_datastore, Destination_datastore
Thank you,