Start a Conversation

Unsolved

This post is more than 5 years old

147482

March 13th, 2014 06:00

Powershell: Check Hash from Template VHD and Parent VHD's

We use cloud desktops and many HyperV servers. During the HyperDeploy we sometimes have issues because the parent vhd is not copied right. The filesize is OK, but we get strange errors on the VDI's.

We tackle this problem by checking the hash of the VHD files to make sure they are all OK.

Attached you see the Powershell script we use.

1 Attachment

228 Posts

March 13th, 2014 07:00

Hi Hilbert, Thanks for posting this script. There are a number of potential issues that can be encountered when the parent VHD file is being copied to the Hyper-V hosts. I have seen some issues already identified have been recorded as product enhancements, however your script provides a good validation check. David
No Events found!

Top