Chapter 5. Creating and Managing Snapshots

In this chapter, you will cover the following topics:

  • Creating a snapshot
  • Getting a list of snapshots in the environment
  • Manipulating the list of snapshots to get better information
  • Scoping and filtering a list of snapshots
  • Removing targeted snapshots
  • Finding lost or unknown snapshots
  • Creating a function to automatically remediate snapshots
  • Scheduling automatic snapshot remediation
  • Creating a snapshot management module

Introduction

Snapshots are one of the best features in vSphere. Snapshots are the safety net built into the platform that allows you to easily revert to a previous known good state in the event that something happens in a VM. Some environments run regularly scheduled snapshots. Some administrators ...

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.