<?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 Snapmirror using powershell with a input-file (ONTAP 9) in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447006#M42701</link>
    <description>&lt;P&gt;Is this possible with ONTAP 9? I know it is certainly possible with for example Windows scripting. I would appreciate a clue to where to look to get information how to set this up. We need to setup hundreds of volumes with Snapmirror and this would save us a lot of typing . Alternatively, we will copy and paste ONTAP commands.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2023 08:27:04 GMT</pubDate>
    <dc:creator>Northman</dc:creator>
    <dc:date>2023-08-17T08:27:04Z</dc:date>
    <item>
      <title>Snapmirror using powershell with a input-file (ONTAP 9)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447006#M42701</link>
      <description>&lt;P&gt;Is this possible with ONTAP 9? I know it is certainly possible with for example Windows scripting. I would appreciate a clue to where to look to get information how to set this up. We need to setup hundreds of volumes with Snapmirror and this would save us a lot of typing . Alternatively, we will copy and paste ONTAP commands.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 08:27:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447006#M42701</guid>
      <dc:creator>Northman</dc:creator>
      <dc:date>2023-08-17T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror using powershell with a input-file (ONTAP 9)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447014#M42702</link>
      <description>&lt;P&gt;Yes, you can use the powershell foreach loop to iterate through a comma delimited file and assign the line items to variables and send those to the powershell netapp tools commands. snapmirror commands to be run on the appropriate endpoints (usually the DR destination) for each relationship.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;foreach ($&amp;lt;item&amp;gt; in $&amp;lt;collection&amp;gt;) {&amp;lt;statement list&amp;gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 13:47:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447014#M42702</guid>
      <dc:creator>ansley_tj</dc:creator>
      <dc:date>2023-08-17T13:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror using powershell with a input-file (ONTAP 9)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447037#M42705</link>
      <description>&lt;P&gt;Thanks, I have found some scripts I can use, just need some more details for the best command to use. Do you know if I have to pre-create all volumes on the destination vserver with sizes as ? When running the command&amp;nbsp;&lt;SPAN&gt;New-NcSnapmirror. Or is there another command that is like the ONTAP command, snapmirror initialize? This command does everything for you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 13:50:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447037#M42705</guid>
      <dc:creator>Northman</dc:creator>
      <dc:date>2023-08-18T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror using powershell with a input-file (ONTAP 9)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447041#M42706</link>
      <description>&lt;P&gt;Actually, there seems to have been a cmdlet calle "Initialize-NcSnapMirror", but it is not in the latest module.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2023 14:21:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/447041#M42706</guid>
      <dc:creator>Northman</dc:creator>
      <dc:date>2023-08-18T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Snapmirror using powershell with a input-file (ONTAP 9)</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/457106#M44338</link>
      <description>&lt;P&gt;Does anyone have a script that works for ONTAP 9.14+ ? I have spent a lot of time trying to setup snapmirror between two SVMs in two different clusters with&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;SPAN&gt;NewNcSnapmirror" command and a Excel input file. Maybe it is simply not possible and I have to use a .csv file??&amp;nbsp; I am using the Excel module ImportExcel (7.8.5)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 16:02:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Snapmirror-using-powershell-with-a-input-file-ONTAP-9/m-p/457106#M44338</guid>
      <dc:creator>Northman</dc:creator>
      <dc:date>2024-12-05T16:02:42Z</dc:date>
    </item>
  </channel>
</rss>

