Chapter 7. Creating Custom Reports and Notifications for vSphere

In this chapter, you will cover the following topics:

  • Getting alerts from a vSphere environment
  • Basics of formatting output from PowerShell objects
  • Sending output to CSV and HTML
  • Reporting VM objects created during a predefined time period from VI Events object
  • Setting custom properties to add useful context to your virtual machines
  • Using PowerShell native capabilities to schedule scripts

Introduction

This chapter is all about leveraging the information available to you in PowerCLI. As much as any other topic, figuring out how to tap into the data that PowerCLI offers is as important as understanding the cmdlets and syntax of the language. However, once you obtain your data, you will need ...

Get PowerCLI Cookbook 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.