Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • PowerCLI Cookbook
  • Toc
  • feedback
PowerCLI Cookbook

PowerCLI Cookbook

By : Philip Brandon Sellers
4.8 (4)
close
PowerCLI Cookbook

PowerCLI Cookbook

4.8 (4)
By: Philip Brandon Sellers

Overview of this book

If you are a virtualization professional who wants to unleash the power of automation and combat the complexity of sprawling virtual environments, this book is ideal for you. This book will enhance your skills of administering VMware vSphere and vCloud Director with PowerCLI.
Table of Contents (13 chapters)
close
12
Index

Removing targeted snapshots


Sometimes, you will want to remove a specific snapshot, but not all of the snapshots on a virtual machine. Sometimes, you will want to clean up an entire virtual machine. In this recipe, we're going to work with two of the virtual machines that you created snapshots with in the first recipe of the chapter.

Getting Started

From the first recipe of this chapter, you created snapshots onto TTYLinux1. In the first part of this recipe, you will remove a single snapshot from the tree of snapshots on this VM. To do this, you will match it against the name of the snapshot that was created.

Once you remove a targeted, single snapshot, you will remove all of the snapshots on the VM, like you would after a project is complete or a software upgrade is completed successfully. The VM will have three generations of snapshots still present and with a single PowerCLI cmdlet you will remove them all.

To begin this recipe, you will need a PowerCLI window and a connection to the vCenter...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete