<?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 PowerShell - invoke-NaNDMPCopy Failing in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34111#M1549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply beam.&amp;nbsp; I actually got it to work and found that I was running into a syntax issue more then anything else.&amp;nbsp; The was able to resolve my issue by simply removing the credential details from my execution string.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invoke-naNDMPCopy&amp;nbsp; -l 0 /vol/source volume/source folder/&amp;nbsp; /vol/dest volume/dest qtree/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked for moving folders into qtrees on a volume found on the same filer.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jan 2013 19:21:57 GMT</pubDate>
    <dc:creator>chriszurich</dc:creator>
    <dc:date>2013-01-15T19:21:57Z</dc:date>
    <item>
      <title>PowerShell - invoke-NaNDMPCopy Failing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34099#M1547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to script moving home directories into Qtree's using invoke-NDMPcopy and have run into some problems.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Host OS Version: Win2k8 64-bit&lt;/P&gt;&lt;P&gt;PowerShell ToolKit Version: 2.2&lt;/P&gt;&lt;P&gt;NetApp DataONTAP 8.1.1 (Run from within a vfiler)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All commands are being executed within a vfiler where I've been able to successfully run ndmpcopy from the command line with no errors.&amp;nbsp; When running it from within Powershell it tells me that "Controller x.x.x.x (vfiler ip) does not support NDMP version 4". Attempts to re-run the command specifying version 3 yield the same result.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execution Syntax: invoke-naNDMPCopy &amp;lt;source ip&amp;gt; /vol/source volume/source folder/ &amp;lt;dest. ip&amp;gt; /vol/dest volume/dest qtree/ -SrcCredential $PSCred -DstCredential $PSCred -Level 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:13:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34099#M1547</guid>
      <dc:creator>chriszurich</dc:creator>
      <dc:date>2025-06-05T06:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell - invoke-NaNDMPCopy Failing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34105#M1548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the NDMP max version for the vfiler?&amp;nbsp; You can find out using the CLI command "ndmpd version".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the max version is 3 or 4, you can turn on debug logging which will capture the NDMP response from the vfiler when Invoke-NaNdmpCopy establishes a connection.&amp;nbsp; If you're using Toolkit 2.2, "Set-NaToolkitConfiguration DEBUG" will enable debug logging (you'll need to restart PowerShell for the change to take effect).&amp;nbsp; "Set-NaToolkitConfiguration OFF" will turn off debug logging.&amp;nbsp; After you've enabled debug logging and run Invoke-NaNdmpCopy, you should see a message which hopefully will provide some clues as to why the command is failing.&amp;nbsp; It should look similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2012-12-19 13:34:35,424 DEBUG DataONTAP.PowerShell.SDK.Cmdlets.Ndmp.NdmpConnection - [Request] (NO_ERR): NOTIFY_CONNECTE&lt;/P&gt;&lt;P&gt;D Connection opened:&amp;nbsp; Version=4, ReasonCode=0, ReasonString=Connection successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 19:10:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34105#M1548</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2012-12-19T19:10:11Z</dc:date>
    </item>
    <item>
      <title>PowerShell - invoke-NaNDMPCopy Failing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34111#M1549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply beam.&amp;nbsp; I actually got it to work and found that I was running into a syntax issue more then anything else.&amp;nbsp; The was able to resolve my issue by simply removing the credential details from my execution string.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;invoke-naNDMPCopy&amp;nbsp; -l 0 /vol/source volume/source folder/&amp;nbsp; /vol/dest volume/dest qtree/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked for moving folders into qtrees on a volume found on the same filer.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 19:21:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34111#M1549</guid>
      <dc:creator>chriszurich</dc:creator>
      <dc:date>2013-01-15T19:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell - invoke-NaNDMPCopy Failing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34121#M1550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the below error for Invoke-NaNdmpCopy command. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\work\e2e\src\main\resources\posh&amp;gt; $secpasswd = ConvertTo-SecureString "password" -AsPlainText -Force&lt;/P&gt;&lt;P&gt; PS C:\work\e2e\src\main\resources\posh&amp;gt; $mycreds = New-Object System.Management.Automation.PSCredential ("root", $secpasswd)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;PS C:\work\e2e\src\main\resources\posh&amp;gt; Invoke-NaNdmpCopy &amp;lt;src_ip&amp;gt; /vol/vol123 &amp;lt;dst_ip&amp;gt; /vol/vol345/qtree345&amp;nbsp; -SrcCredential $mycreds -DstCredential $mycreds&lt;/P&gt;&lt;P&gt;Invoke-NaNdmpCopy : Exception from ndmp message CONNECT_CLIENT_AUTH: Could not authenticate connection.&amp;nbsp; Error ILLEGAL_ARGS_ERR.&lt;/P&gt;&lt;P&gt;At line:1 char:1&lt;/P&gt;&lt;P&gt;+ Invoke-NaNdmpCopy &amp;lt;src_ip&amp;gt; /vol/vol123 &amp;lt;dst_ip&amp;gt; /vol/vol345/qtree345&amp;nbsp; - ...&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (:) [Invoke-NaNdmpCopy], NdmpMessageException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : Ndmp connection error,DataONTAP.PowerShell.SDK.Cmdlets.Ndmp.InvokeNaNdmpCopy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if there is something wrong here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sharu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 11:09:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34121#M1550</guid>
      <dc:creator>sharu</dc:creator>
      <dc:date>2013-05-09T11:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell - invoke-NaNDMPCopy Failing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34126#M1551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the -SrcAuthType and -DstAuthType parameters.&amp;nbsp; The default value is "none"--you probably need to specify either "text" or "md5" for the connection to authenticate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The supported AuthType values are stored in the ndmpd.authtype option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PS C:\&amp;gt; Get-NaOption ndmpd.authtype&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ClusterConstraint&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-----------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;none&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ndmpd.authtype&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; challenge&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A value of 'challenge' means you should use the md5 AuthType.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 13:25:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34126#M1551</guid>
      <dc:creator>beam</dc:creator>
      <dc:date>2013-05-09T13:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell - invoke-NaNDMPCopy Failing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34131#M1552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been having problems with this powershell today and the posted work around above did not help, as I have a remote system.&amp;nbsp; To resolve the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #454545; background-color: #ffffff; font-family: Arial, Helvetica, Verdana, sans-serif;"&gt;"Invoke-NaNdmpCopy : Exception from ndmp message CONNECT_CLIENT_AUTH: Could not authenticate connection.&amp;nbsp; Error ILLEGAL_ARGS_ERR" &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;I had to create version 4 NDMP password!&amp;nbsp; The "ndmpd password a_name" was not what the cmdlet was expecting.&amp;nbsp; Strange but true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;ndmpd password a_name version 4&lt;/P&gt;&lt;P class="p1"&gt;password m9XXbXsXg6XX8qfX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;Bren&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 17:57:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-invoke-NaNDMPCopy-Failing/m-p/34131#M1552</guid>
      <dc:creator>BrendonHiggins</dc:creator>
      <dc:date>2013-10-29T17:57:20Z</dc:date>
    </item>
  </channel>
</rss>

