itramblings
Ramblings of an IT manager
Originally from
Found, then improved from
Found, then improved
Repost
http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx