Finding VMware vSphere Virtual Machine Snapshots with PowerCLI

The snapshot feature in any virtualization software is powerful because it allows you to “snap back” (revert) and “snap forward” in time. With this, you can perform installations and revert if they don’t work. You can make configuration changes over and over again until you get them right. And, you can go back to a point in the “life” of that virtual machine when it was freshly installed and brand new.

Sure, snapshots are cool but they can also be dangerous. These snapshots can take up a ton of disk space and, potentially, cause you to run out of space in your ESX Server datastores. By running out of space, you could, potentially, experience downtime and end users could be upset when their virtual desktops or applications no longer work.

Finding which virtual machines have snapshots, how old those snapshots are, and how much space they take up can be very time consuming in the vSphere client graphical interface. You have to click on each virtual machine, look to see if the Revert to Snapshot button is colored and, if it is, go into the snapshot manager and look at each snapshot.

Fortunately, vExpert and Microsoft MVP Hal Rottenberg’s PowerCLI videos – the new Train Signal vSphere Pro Vol 1 training course – show you how to find old snapshots in your vSphere infrastructure, report on how old they are, and how much space they take up in your datastores. By finding these snapshots early, before they cause trouble, you can delete unneeded snapshots to save space and prevent downtime.

Sponsored Content

What is “Inside Microsoft Teams”?

“Inside Microsoft Teams” is a webcast series, now in Season 4 for IT pros hosted by Microsoft Product Manager, Stephen Rose. Stephen & his guests comprised of customers, partners, and real-world experts share best practices of planning, deploying, adopting, managing, and securing Teams. You can watch any episode at your convenience, find resources, blogs, reviews of accessories certified for Teams, bonus clips, and information regarding upcoming live broadcasts.

Hal makes learning PowerCLI and PowerShell fun and easy. Honestly, I before I watched this video, I had only used one PowerShell script. After Hal’s excellent teaching on how it works, I am excited about PowerShell and feel like I could write just about any script!

Here’s a sample from Hal’s PowerCLI training video…

For more information on what else Hal covers and what else the entire vSphere Pro Vol 1 video covers, visit Train Signal vSphere Pro Vol 1 course outline.

Related Topics:

External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by:

Office 365 Coexistence for Mergers & Acquisitions: Don’t Panic! Make it SimpleLive Webinar on Tuesday, November 16, 2021 @ 1 pm ET

In this session, Microsoft MVPs Steve Goodman and Mike Weaver, and tenant migration expert Rich Dean, will cover the four most common steps toward Office 365 coexistence and explain the simplest route to project success.

  • Directory Sync/GAL Sync – How to prepare for access and awareness
  • Calendar Sharing – How to retrieve a user’s shared calendar, or a room’s free time
  • Email Routing – How to guarantee email is routed to the active mailbox before and after migration
  • Domain Sharing – How to accommodate both original and new SMTP domains at every stage

Aimed at IT Admins, Infrastructure Engineers and Project Managers, this session outlines both technical and project management considerations – giving you a great head start when faced with a tenant migration.the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

Sponsored by: