List of tasks occurred in the last 24 hours...

Hi all

I have a single line of code, which lists errors in vcenter for a given time interval...

Get-VIEvent-beginning (Get-Date). AddHours(-48)-error | Select-object Createduserid, FullFormattedMessage | ConvertTo-Html-title "Errors the last 2 days" - body "errors < H2 > the last days 2. "< / H2 > ' | Out-file - add $filelocation

Is there a way we can list the tasks performed by users or triggered by the system for some interval... I tried with a - Type task and event but does not list anything...

Thanks in advance!

VMSavvy

Nice script.

The attached script will make vCenters all in one pass.

Tags: VMware

Similar Questions

Maybe you are looking for