Convert, Resize, and Optimize VHD and VHDX files with PowerShell

I recently received an email from someone who attended one of my presentations asking if I had a blog article on using PowerShell to compact and optimize VHD files. Since I didn’t have a blog article on that subject, I decided to create one. The process itself is fairly simple. The examples shown in this blog article are being run on a Windows 10 computer which has Hyper-V enabled on it.

Remotely Manage Hyper-V from Windows 7

Problem: You need to remotely manage your Hyper-V server from Windows 7. Solution: Download and install the “Remote Server Administration Tools for Windows 7” from Microsoft: Enable the Hyper-V Tools from “Control Panel>Programs>Turn Windows features on or off” menu: You should now have a “Hyper-V Manager” shortcut on your Administrative Tools menu. µ