PowerCLI: Report every VM added to vCenter in the last 30 days

From VI-Toolkit
Jump to navigation Jump to search

By using the PowerCLI and VMware's SDK it is entirely possible to query the history of tasks and events. One of the data gems that can be garnered from the event history is when virtual machines have been created or deleted.

You can find how to query the event history here.