I am trying to export vm events from vcenter for all vms in a DC. Docs talk a out an icon but that is not there in 6.7 html so off to powercli
I run Get-Datacenter my-dc | Get-VIEvent | export ovg however I get a lot of events, with not a lot of data. such as missing the initiator of task, time stamp, actual task name. The end state that I am trying to get is to see what time the backup team took snapshots or performed other functions. I can see the data if I look at the tasks pane in vcenter, just can't export it.
Any guidance would be appreciated.
For events related to your VM's first try to get them for one VM: Get-VM -Name <name> | Get-VIEvent. Then, if you're happy with the results you could try it for a cluster or for the datacenter.