Hi,
I am unable to get VM created, deleted, Cloned and beingdeployed details from below
Get-VIEvent -Start (Get-Date).AddDays(-30) -MaxSamples ([int]::MaxValue) | where{$_ -is [VMware.Vim.VmCreatedEvent] -and $_ -is [VMware.Vim.VmBeingClonedEvent] -and $_ -is [VMware.Vim.VmBeingDeployedEvent] -and $_ -is [VMware.Vim.VmRemovedEvent]} | Sort CreatedTime -Descending | Select CreatedTime, UserName, @{N='VM';E={$_.VM.Name}}, FullformattedMessage | ft -auto
I am seeing blank output
Please help