<?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: New-NcSisPolicy in Powershell Toolkit 4.6 in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142138#M5839</link>
    <description>&lt;PRE&gt;&amp;lt;changelog-threshold-percent&amp;gt;$Percent&amp;lt;/changelog-threshold-percent&amp;gt;&lt;/PRE&gt;
&lt;P&gt;You call it out in your API, but see&amp;nbsp; above post.&amp;nbsp; I agree that the cmdlet should be a little more informative&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 12:23:41 GMT</pubDate>
    <dc:creator>JGPSHNTAP</dc:creator>
    <dc:date>2018-08-16T12:23:41Z</dc:date>
    <item>
      <title>New-NcSisPolicy in Powershell Toolkit 4.6</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142123#M5836</link>
      <description>&lt;P&gt;Want to create an automatic threshold based efficiency policy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;New-NcSisPolicy -VserverContext svm_renem1 -name automatic -PolicyType threshold -QosPolicy background&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;New-NcSisPolicy : Cannot bind argument to parameter 'Schedule' because it is an empty string.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;New-NcSisPolicy -VserverContext svm_renem1 -name automatic -PolicyType threshold -QosPolicy background -Schedule 'daily'&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;&lt;SPAN&gt;New-NcSisPolicy : Parameter 'Schedule' is supported only for policy type 'scheduled'.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The option schedule is unfortunately&amp;nbsp;mandatory.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:25:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142123#M5836</guid>
      <dc:creator>renem</dc:creator>
      <dc:date>2025-06-04T13:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: New-NcSisPolicy in Powershell Toolkit 4.6</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142136#M5837</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Until this is fixed I use a workaround. Since the Invoke-NcSsh use plink.exe and have trouble with TLS only I don't like this cmdlet anymore. My solution is based on the cmdlet Invoke-NcSystemApi&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$Vserver = "svm_renem1"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$PolicyName = "Test"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$PolicyType = "threshold"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$Percent = "45"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$Qos = "background"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$Enable = "true"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;$Request = @"&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;sis-policy-create&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;policy-name&amp;gt;$PolicyName&amp;lt;/policy-name&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;policy-type&amp;gt;$PolicyType&amp;lt;/policy-type&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;changelog-threshold-percent&amp;gt;$Percent&amp;lt;/changelog-threshold-percent&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;qos-policy&amp;gt;$Qos&amp;lt;/qos-policy&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;enabled&amp;gt;$Enable&amp;lt;/enabled&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;lt;/sis-policy-create&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;"@&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Invoke-NcSystemApi -VserverContext $Vserver -Request $Request -ErrorAction Stop&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Rene&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:20:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142136#M5837</guid>
      <dc:creator>renem</dc:creator>
      <dc:date>2018-08-16T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: New-NcSisPolicy in Powershell Toolkit 4.6</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142137#M5838</link>
      <description>&lt;P&gt;^^&lt;/P&gt;
&lt;P&gt;This is because you need to add&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-ChangelogThresholdPercent&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new-ncsispolicy -VserverContext&amp;nbsp;testvserver -name automatic&amp;nbsp; -QosPolicy background -PolicyType threshold -ChangelogThresholdPercent 20&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-ChangelogThresholdPercent &amp;lt;Int32&amp;gt;&lt;BR /&gt; Percentage at which the changelog will be processed for a policy type 'threshold', tested once each hour. Range [1..100].&lt;/P&gt;
&lt;P&gt;Required? true&lt;BR /&gt; Position? named&lt;BR /&gt; Default value&lt;BR /&gt; Accept pipeline input? false&lt;BR /&gt; Accept wildcard characters? false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:22:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142137#M5838</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2018-08-16T12:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: New-NcSisPolicy in Powershell Toolkit 4.6</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142138#M5839</link>
      <description>&lt;PRE&gt;&amp;lt;changelog-threshold-percent&amp;gt;$Percent&amp;lt;/changelog-threshold-percent&amp;gt;&lt;/PRE&gt;
&lt;P&gt;You call it out in your API, but see&amp;nbsp; above post.&amp;nbsp; I agree that the cmdlet should be a little more informative&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:23:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142138#M5839</guid>
      <dc:creator>JGPSHNTAP</dc:creator>
      <dc:date>2018-08-16T12:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: New-NcSisPolicy in Powershell Toolkit 4.6</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142139#M5840</link>
      <description>&lt;P&gt;In my point of view there is no reason why the ChangelogThresholdPercent should be a mandatory option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ONTAP set this option by default to 20.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also the API option &lt;FONT face="courier new,courier"&gt;&amp;lt;changelog-threshold-percent&amp;gt;&lt;/FONT&gt; is optional and not mandatory.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A redesign of this cmdlet should be&amp;nbsp;necessary&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 12:43:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/New-NcSisPolicy-in-Powershell-Toolkit-4-6/m-p/142139#M5840</guid>
      <dc:creator>renem</dc:creator>
      <dc:date>2018-08-16T12:43:10Z</dc:date>
    </item>
  </channel>
</rss>

