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.
Verified clean & malware-scanned
Overview & Details
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 zoomSystem 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:
Usage Tips:
Safety & Architecture Notes
Ensure host storage has sufficient IOPS bandwidth for merge operations.
Version History & Changelog
Stable production release.
SHA-256 Checksum
Verify package authenticity before opening:
Tool Specifications
- Category:
- Automation
- Platform:
- Cross-platform
- Format:
- ZIP (PowerShell & Shell)
- License:
- MIT License
Related Tools
Automated PowerShell framework to batch provision or offboard Active Directory accounts, mailboxes, and security groups from CSV records.
Ready-to-import n8n workflow JSON that monitors HTTP endpoints and sends rich Discord and Slack webhook alerts during outages.
Automated backup utility that dumps databases, compresses directories with AES-256 encryption, and synchronizes archives to S3/R2 storage with retention pruning.
Scheduled maintenance script that queries WSUS/Microsoft Update, stages security patches, handles reboot flags, and emails HTML completion logs.