Post info:
PowerShell Script To Get vMotion Events
Recently, I had the need to get a list of vMotion events to pass to management. I attempted to use the Get-VIEvent cmdlet for this, but found it wasn’t easy to only pull logs from one specific cluster. I attempted to use the -Entity option and direct it to the cluster I wanted, but that didn’t work well. So I decided to do some searching. First thing I came across was the Get-vMotion Module/script in the PowerShell Gallery. This looked