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

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.