Skip to main content
Automation Free Download Cross-platform ZIP (PowerShell & Shell)

Hyper-V & Proxmox VM Snapshot Retention Automator

Production-tested script to automate routine virtual machine snapshots, enforce rotation policies (keep last N days), and prevent disk storage exhaustion.

Version: v1.0.0 • Updated: Nov 15, 2026 • Downloads: 670 • License: MIT License
100% Free

Verified clean & malware-scanned

Download Now
File Size: 914 B
Format: ZIP (PowerShell & Shell)
Version: v1.0.0
No bundled adware or installers

Overview & Details

### Overview

Forgotten VM snapshots grow silently until the host SAN runs out of storage space. This automator creates daily snapshots before scheduled changes and purges old checkpoints exceeding your retention threshold.

### Highlights
- Works on standalone Hyper-V hosts and Proxmox VE clusters
- Enforces strict snapshot age limit (e.g. automatically deletes snapshots > 7 days old)
- Merges VHDX checkpoints cleanly without VM downtime
- Daily summary email with storage consumption changes

Key Features & Capabilities

  • Automated snapshot lifecycle rotation
  • SAN storage capacity alert threshold
  • Proxmox API and Hyper-V PowerShell dual support
  • Prevents runaway snapshot disk growth

Screenshots & Interface

Click image to zoom

System Requirements & Compatibility

Prerequisites:

Hyper-V Host (PowerShell) or Proxmox VE (API token / SSH).

Tested & Supported Platforms:

Hyper-V Server 2016-2025, Proxmox VE 7.x/8.x

Installation & Usage Instructions

Step-by-step Setup:

Configure `settings.json` with VM exclusion list and maximum retention days.

Usage Tips:

Run daily via cron or Windows Task Scheduler at midnight.

Safety & Architecture Notes

Ensure host storage has sufficient IOPS bandwidth for merge operations.

How It Works: Calls `Get-VMSnapshot | Remove-VMSnapshot` or `qm snapshot / qm delsnapshot`.

Version History & Changelog

v1.0.0 Latest Release
Oct 20, 2026

Stable production release.

SHA-256 Checksum

Verify package authenticity before opening:

ad88ad74229b3f189e55261f945189f3c4177e5d9c9afd3907f4feca94fedf7e

Tool Specifications

Category:
Automation
Platform:
Cross-platform
Format:
ZIP (PowerShell & Shell)
License:
MIT License

Related Tools

ZIP
Active Directory Bulk User Provisioning & Deprovisioning Script

Automated PowerShell framework to batch provision or offboard Active Directory accounts, mailboxes, and security groups from CSV records.

JSO
n8n Website Uptime & Webhook Discord Alert Workflow

Ready-to-import n8n workflow JSON that monitors HTTP endpoints and sends rich Discord and Slack webhook alerts during outages.

ZIP
Automated Server Backup & Cloudflare R2 / AWS S3 Sync Script

Automated backup utility that dumps databases, compresses directories with AES-256 encryption, and synchronizes archives to S3/R2 storage with retention pruning.

ZIP
Automated Windows Update & Patch Maintenance Script

Scheduled maintenance script that queries WSUS/Microsoft Update, stages security patches, handles reboot flags, and emails HTML completion logs.