Download it from the Microsoft TechNet Gallery the PowerShell Gallery and GitHub. Today I’ve released an update to my Hyper-V Backup Utility PowerShell script. Version 4.1 adds zip file creation and the ability to keep a history of Virtual Machine backups. These new features are included along with the ability to backup Virtual Machines using the built-in Hyper-V export function, meaning that the VMs do not need to be shutdown. However if the Hyper-V host lacks the permissions necessary to perform the export, it can be configured to shutdown the Virtual Machines and backup through a file-based copy operation.
Flexible Hyper-V Backup Utility Hyper-V Backup Utility can be downloaded from: GitHub The Microsoft PowerShell Gallery A demonstration video is available on YouTube. If you would like to support me, please check out the links below. Thank you! Patreon Ko-fi PayPal If you’d like to contact me, please leave a comment, send me a tweet, or you can join the community on Discord. -Mike Features and Requirements It’s designed to be run on a Hyper-V host.
UPDATE: This post is old and intended as a walk through on how my original script was put together for those wishing to learn PowerShell. For the finished, up-to-date script please check out this post and you can download the script from my TechNet profile. I previously posted a quick and dirty Hyper-V backup script that was very basic but did the job required at the time. I always wanted to revisit it and improve it.
I’ve replaced this script with a much more robust script that will backup each VM, including checkpoints/snapshots. You can find that post here. Let’s celebrate the holiday season with a quick PowerShell script to backup a Hyper-V server…or maybe you just need a quick and dirty, belt and braces backup script for your Hyper-V based VMs. It’s a small, quick script leveraging Hyper-V’s PowerShell module and some traditional command line utilities, like robocopy.