<?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: SMSQL snapvault post script in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35234#M1624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this script: &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-15159" target="_blank"&gt;https://communities.netapp.com/docs/DOC-15159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 01:12:15 GMT</pubDate>
    <dc:creator>ivan_huter</dc:creator>
    <dc:date>2013-02-28T01:12:15Z</dc:date>
    <item>
      <title>SMSQL snapvault post script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35220#M1622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm looking for some help again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; Ideally i'd like to replace all rsh based batch files for the post backup&amp;nbsp; snapvaultscripts with a powershell script based on the toolkit commands. &lt;/P&gt;&lt;P&gt;Snapmanger calls a bat file which in turn runs a ps1 file containing the&amp;nbsp; Start-NasnapVaultSecTransfer (s) and the Start-NaSnapvaultSecSnapshot. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue due to my limited scripting ability is transfering the post command arguments from SnapManager -PostCmdArgs '$SqlSnapshot $SqlSnapshot $InfoSnapshot' into the -PrimarySnapshot &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get the script to work no issue when using and explicitly stating an (_recent) snapshot in the powershell script.&amp;nbsp; But we would like stick with timestamped snapmanager source snapshots.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone achieved this or any scripting tips?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:28:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35220#M1622</guid>
      <dc:creator>ANDY_MCKEE</dc:creator>
      <dc:date>2025-06-05T06:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: SMSQL snapvault post script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35225#M1623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can access parameters in Powershell like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;param($value1,$value2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update the Vault relationship with the latest snapshot the script could look like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;param($SqlSnapshot,$InfoSnapshot)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Start-NaSnapvaultSecTransfer /vol/vol_primary/qtree_primary -PrimarySnapshot $SqlSnapshot&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 15:11:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35225#M1623</guid>
      <dc:creator>stephan_troxler</dc:creator>
      <dc:date>2012-05-14T15:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: SMSQL snapvault post script</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35234#M1624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this script: &lt;A _jive_internal="true" href="https://community.netapp.com/docs/DOC-15159" target="_blank"&gt;https://communities.netapp.com/docs/DOC-15159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Ivan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 01:12:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/SMSQL-snapvault-post-script/m-p/35234#M1624</guid>
      <dc:creator>ivan_huter</dc:creator>
      <dc:date>2013-02-28T01:12:15Z</dc:date>
    </item>
  </channel>
</rss>

