Chapter 10. Reporting with PowerCLI

Creating reports is the task that most new PowerCLI users start with. Your boss wants a report of all the new virtual machines created last month or a list of all the datastores that are over 90 percent full. PowerCLI will make it easy for you to create such a report and save it as a CSV or HTML file. In this chapter, you will learn some techniques to create reports.

The following topics are covered in this chapter:

  • Retrieving log files
  • Creating log bundles
  • Performance reporting
  • Exporting reports to CSV files
  • Generating HTML reports
  • Sending reports by e-mail
  • Reporting the health of your vSphere environment with vCheck
  • Using PowerGUI

Retrieving log files

ESXi servers and vCenter Servers generate log files. Some of these ...

Get Learning PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.