<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hyper-V Script: Compact VHD</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx</link><description>Continuing on with my walk through the storage WMI API - here are some scripts for compacting VHDs with Hyper-V.&amp;#160; Note that Hyper-V allows you to compact both differencing and dynamically expanding virtual hard disks. PowerShell: # Prompt for the</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Hyper-V Script: Compact VHD</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx#8593309</link><pubDate>Thu, 12 Jun 2008 18:55:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8593309</guid><dc:creator>Kieran</dc:creator><description>&lt;p&gt;What is the purpose of compacting the VHDs though Ben?&lt;/p&gt;
</description></item><item><title>re: Hyper-V Script: Compact VHD</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx#8649449</link><pubDate>Wed, 25 Jun 2008 01:31:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8649449</guid><dc:creator>aaron</dc:creator><description>&lt;p&gt;Thanks for all the great tips, they've been exceptionally helpful.&lt;/p&gt;
&lt;p&gt;I have a server that is not hyper-v capable, but I would like to install the hyper-v tools to mount/defrag/compact vhds. &amp;nbsp;Is there a way to do this?&lt;/p&gt;
</description></item><item><title>re: Hyper-V Script: Compact VHD</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx#8657010</link><pubDate>Thu, 26 Jun 2008 17:53:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8657010</guid><dc:creator>Yossi Ran</dc:creator><description>&lt;p&gt;I have just compacted a VHD&lt;/p&gt;
&lt;p&gt;Size before compaction: 9,524,588,032&lt;/p&gt;
&lt;p&gt;Size After &amp;nbsp;compaction: 9,355,077,632&lt;/p&gt;
</description></item><item><title>re: Hyper-V Script: Compact VHD</title><link>http://blogs.msdn.com/virtual_pc_guy/archive/2008/06/11/hyper-v-script-compact-vhd.aspx#8712204</link><pubDate>Wed, 09 Jul 2008 13:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8712204</guid><dc:creator>aya2work</dc:creator><description>&lt;p&gt;Do I need to run pre-compactor tool (precompact.exe in VirtualServer) before compacting VHDs in Hyper-V?&lt;/p&gt;
</description></item></channel></rss>