Hyper-V Optimize VHDx with PowerShell

Опубликовано: 14 Май 2026
на канале: Recast
859
3

This Video shows a script that gets VMs on a Hyper-V Host based on criteria, then checks if they have an attached VHDx file, if no snapshot is found, it shuts down the VM, Optimizes (compacts) the VHDx file, then turns the VM back on, freeing up space on your host.

2:33 - The Video really starts around here, before this I had a bug that I fix in the video.

Check out our last video→   • WinPE PSGallery  

Learn more about our solutions → https://www.recastsoftware.com/reques...
Our website → https://www.recastsoftware.com/
Our blog → https://www.recastsoftware.com/resour...

CONNECT WITH US ON SOCIAL:
LinkedIn:   / recastsoftware  
Facebook:   / recastsoftware  
Twitter:   / recastsoftware  
Instagram:   / recastsoftware  

CONTACT US:
Contact us here: https://www.recastsoftware.com/contac...
Need help? https://docs.recastsoftware.com/help OR https://www.recastsoftware.com/support/

Have a feature request? Let us know here → https://www.recastsoftware.com/featur...