<?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 New-NcFileserviceAudit Possible bug in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-New-NcFileserviceAudit-Possible-bug/m-p/146502#M6441</link>
    <description>&lt;P&gt;I am trying to use PowerShell to script the audit configuration process and everything is working except New-NcFileserviceAudit. From what I can see in PowerShell ISE you can set the parameters up either using "RotateSize" or "RotateSched" . I am trying to use RotateSched and when I run it I get the error "New-NcFileserviceAudit : Invalid value specified for "rotate-size" element within "fileservice-audit-config-create": "0"." Even though "rotate-size" shouldn't be something that is set under the rotate schedule and yes I have tried adding it as a parameter and it fails out with "New-NcFileserviceAudit : Parameter set cannot be resolved using the specified named parameters." Here is what I am trying to run "New-NcFileserviceAudit -Destination /&lt;EM&gt;Junctionpath&lt;/EM&gt;&amp;nbsp;-RotateLimit &lt;FONT color="#333333"&gt;1440&lt;/FONT&gt; -AuditEvents file_ops -RotateMinute 0&amp;nbsp; -Format xml -VserverContext &lt;FONT color="#000000"&gt;&lt;EM&gt;SVM Name&lt;/EM&gt;&lt;/FONT&gt;". I have removed the destination and vservercontext information from here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated. Thank you,&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 12:51:38 GMT</pubDate>
    <dc:creator>Zeno</dc:creator>
    <dc:date>2025-06-04T12:51:38Z</dc:date>
    <item>
      <title>Powershell New-NcFileserviceAudit Possible bug</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-New-NcFileserviceAudit-Possible-bug/m-p/146502#M6441</link>
      <description>&lt;P&gt;I am trying to use PowerShell to script the audit configuration process and everything is working except New-NcFileserviceAudit. From what I can see in PowerShell ISE you can set the parameters up either using "RotateSize" or "RotateSched" . I am trying to use RotateSched and when I run it I get the error "New-NcFileserviceAudit : Invalid value specified for "rotate-size" element within "fileservice-audit-config-create": "0"." Even though "rotate-size" shouldn't be something that is set under the rotate schedule and yes I have tried adding it as a parameter and it fails out with "New-NcFileserviceAudit : Parameter set cannot be resolved using the specified named parameters." Here is what I am trying to run "New-NcFileserviceAudit -Destination /&lt;EM&gt;Junctionpath&lt;/EM&gt;&amp;nbsp;-RotateLimit &lt;FONT color="#333333"&gt;1440&lt;/FONT&gt; -AuditEvents file_ops -RotateMinute 0&amp;nbsp; -Format xml -VserverContext &lt;FONT color="#000000"&gt;&lt;EM&gt;SVM Name&lt;/EM&gt;&lt;/FONT&gt;". I have removed the destination and vservercontext information from here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated. Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:51:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-New-NcFileserviceAudit-Possible-bug/m-p/146502#M6441</guid>
      <dc:creator>Zeno</dc:creator>
      <dc:date>2025-06-04T12:51:38Z</dc:date>
    </item>
  </channel>
</rss>

