<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run Repair-NaVirtualDiskAlignment without interaction in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9356#M459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yesterday.&amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 14:40:18 GMT</pubDate>
    <dc:creator>cknight</dc:creator>
    <dc:date>2012-05-02T14:40:18Z</dc:date>
    <item>
      <title>Run Repair-NaVirtualDiskAlignment without interaction</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9334#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you run Repair-NaVirtualDiskAlignment so that it does not prompt to continue&lt;/P&gt;&lt;P&gt;We are currently running DataOnTap 8 so the command falls back to host-based copy, which is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When executing: Repair-NaVirtualDiskAlignment&amp;nbsp; -virtualdisk $VHDFullPath -controller $controller&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Aligning virtual disk&lt;BR /&gt;Are you sure you wish to align partitions on virtual disk C:\ClusterStorage\Volume1\skeet\189ba1eb-643b-11df-808f-806e6f6e6963_2011-04-05T162446.vhd?&lt;BR /&gt;[Y] Yes&amp;nbsp; [A] Yes to All&amp;nbsp; [N] No&amp;nbsp; [L] No to All&amp;nbsp; [?] Help (default is "Y"): y&lt;/P&gt;&lt;P&gt;Using host-based copy&lt;BR /&gt;A host-based copy will be used.&amp;nbsp; This may take several minutes.&amp;nbsp; Are you sure you wish to continue?&lt;BR /&gt;[Y] Yes&amp;nbsp; [N] No&amp;nbsp; [?] Help (default is "Y"):&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;When executing: Repair-NaVirtualDiskAlignment -virtualdisk $VHDFullPath -controller $controller -confirm:$False&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Using host-based copy&lt;/P&gt;&lt;P&gt;A host-based copy will be used.&amp;nbsp; This may take several minutes.&amp;nbsp; Are you sure you wish to continue?&lt;/P&gt;&lt;P&gt;[Y] Yes&amp;nbsp; [N] No&amp;nbsp; [?] Help (default is "Y"):&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Is there a way to answer the host-based copy question, so no user interaction is required?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:29:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9334#M454</guid>
      <dc:creator>WAKEMAN811</dc:creator>
      <dc:date>2025-06-05T06:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Run Repair-NaVirtualDiskAlignment without interaction</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9339#M455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Scott, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your running into what's known as a shouldcontinue prompt.&amp;nbsp; ShouldContinue is a means for the developer to ensure you see they're warning before they continue in the code path.&amp;nbsp; In this case were warning that your running a version of DOT that doesn't currently support copy offload and&amp;nbsp; we'll have to copy the data through the host.&amp;nbsp; So far so good, the PowerShell coding guidlines dictate that whenever shouldcontinue is used there must be a switch to override.&amp;nbsp;&amp;nbsp; In our case that switch is -ForceHostCopy.. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 8pt; font-family: Lucida Console;"&gt;Repair-NaVirtualDiskAlignment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Lucida Console;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: Lucida Console;"&gt;-VirtualDisk&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Lucida Console;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #8a2be2; font-size: 8pt; font-family: Lucida Console;"&gt;C:\ClusterStorage\Volume1\skeet\189ba1eb-643b-11df-808f-806e6f6e6963_2011-04-05T162446.vhd &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: Lucida Console;"&gt;-Confirm:&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500; font-size: 8pt; font-family: Lucida Console;"&gt;$false&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: Lucida Console;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 8pt; font-family: Lucida Console;"&gt;-ForceHostCopy &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 14:58:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9339#M455</guid>
      <dc:creator>GlennSizemore</dc:creator>
      <dc:date>2012-04-20T14:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Run Repair-NaVirtualDiskAlignment without interaction</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9344#M456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using -ForceHost copy with -Confirm:$false still results in &lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Using host-based copy&lt;/P&gt;&lt;P&gt;A host-based copy will be used.&amp;nbsp; This may take several minutes.&amp;nbsp; Are you sure you wish to continue?&lt;/P&gt;&lt;P&gt;[Y] Yes&amp;nbsp; [N] No&amp;nbsp; [?] Help (default is "Y"):&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Which is why i am looking for more information on why -Confirm:$false even when -ForceHostCopy is used only seems to apply to the "Are you sure you wish to align partitions on virtual disk" question.&lt;/P&gt;&lt;P&gt;Thanks for your prompt assistance with this issue!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 16:00:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9344#M456</guid>
      <dc:creator>WAKEMAN811</dc:creator>
      <dc:date>2012-04-20T16:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Run Repair-NaVirtualDiskAlignment without interaction</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9348#M457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Scott.&amp;nbsp; Agreed, you should not see the secondary ShouldContinue prompt if you specify -ForceHostCopy.&amp;nbsp; We'll aim to address that in the next release.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 18:27:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9348#M457</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2012-04-25T18:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Run Repair-NaVirtualDiskAlignment without interaction</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9353#M458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know when that might happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:54:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9353#M458</guid>
      <dc:creator>WAKEMAN811</dc:creator>
      <dc:date>2012-05-02T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Run Repair-NaVirtualDiskAlignment without interaction</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9356#M459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yesterday.&amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 14:40:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Run-Repair-NaVirtualDiskAlignment-without-interaction/m-p/9356#M459</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2012-05-02T14:40:18Z</dc:date>
    </item>
  </channel>
</rss>

