<?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: Powershell xx-NANDMPCOPY as scheduled task in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-xx-NANDMPCOPY-as-scheduled-task/m-p/63937#M3178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jody, Can you paste your code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try the below code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13848498110574858" jivemacro_uid="_13848498110574858"&gt;&lt;P&gt;$trigger = New-JobTrigger -Daily -At 3am&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Register-ScheduledJob -Name Start-Copying -Trigger $trigger -ScriptBlock {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;# &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ipmo dataontap -ErrorAction SilentlyContinue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Invoke-NaNdmpCopy 10.61.167.61 /vol/vol4/t5/ 10.61.169.28 /vol/vol1/t5/ -SrcAuthType md5 -DstAuthType md5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2013 08:30:26 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2013-11-19T08:30:26Z</dc:date>
    <item>
      <title>Powershell xx-NANDMPCOPY as scheduled task</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-xx-NANDMPCOPY-as-scheduled-task/m-p/63930#M3175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a need to relocate user home folders based a change in role.&amp;nbsp;&amp;nbsp; I would like to do this using the powershell xx-NANDMPCOPY commandlets since it would be more efficient than redirecting the data through a host with something like Robocopy.&amp;nbsp; I have a script which will do this, and have successfully run it interactively.&amp;nbsp; However, when I try and run it as a scheduled task, the job fails with an 'Incorrect Function' error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone successfully gotten the NANDMPCOPY commandlets to run as a scheduled task?&amp;nbsp; Is this even possible with the current version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:49:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-xx-NANDMPCOPY-as-scheduled-task/m-p/63930#M3175</guid>
      <dc:creator>JODY_IFVERSEN</dc:creator>
      <dc:date>2025-06-05T05:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell xx-NANDMPCOPY as scheduled task</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-xx-NANDMPCOPY-as-scheduled-task/m-p/63937#M3178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jody, Can you paste your code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try the below code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13848498110574858" jivemacro_uid="_13848498110574858"&gt;&lt;P&gt;$trigger = New-JobTrigger -Daily -At 3am&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Register-ScheduledJob -Name Start-Copying -Trigger $trigger -ScriptBlock {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;# &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ipmo dataontap -ErrorAction SilentlyContinue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Invoke-NaNdmpCopy 10.61.167.61 /vol/vol4/t5/ 10.61.169.28 /vol/vol1/t5/ -SrcAuthType md5 -DstAuthType md5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2013 08:30:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-xx-NANDMPCOPY-as-scheduled-task/m-p/63937#M3178</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-11-19T08:30:26Z</dc:date>
    </item>
  </channel>
</rss>

