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.
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: https://www.microsoft.com/downloads/details.aspx?FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d&displaylang=en. 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. µ