This script removes VMware VM snapshots that are older than 14 days

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name VMW_RemoveOldSnapshots -RequiredVersion 1.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Andrew Anderson - Twitter @drewjanderson



PowerCLI VMware Snapshots


This script has no dependencies.

Release Notes

Added Param block to enable running this script and passing in the day value as well as vCenter Server name.

Version History

Version Downloads Last updated
1.2 146 5/9/2017
1.1 (current version) 13 3/7/2017
1.0 5 2/28/2017