<?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 ONTAP script causing file lockouts in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/PowerShell-ONTAP-script-causing-file-lockouts/m-p/457266#M44368</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I wrote a health check script using the NetApp.ONTAP PowerShell SDK v9.14.1.2401 and it's working OK, but my team told me that they are getting files locked out due to my script running. In their logs (see screenshot) it shows the error message&lt;/P&gt;&lt;P&gt;"GET /api/private/cli/system/node/virtual-machine/instance/show-settings/?fields=consumer"&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;"This API is unsupported on this platform."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no errors when I run the script, and no indication of any issues. However, when I run the script with verbose messaging enabled, I get this message when running the &lt;U&gt;Connect-NcController&lt;/U&gt; command:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;VERBOSE: Trying HTTP/HTTPS&lt;BR /&gt;VERBOSE: Connected to &amp;lt;HOSTNAME&amp;gt;.&amp;lt;domain&amp;gt;.tld using HTTPS&lt;BR /&gt;VERBOSE: Setting value of global:CurrentNcController&lt;BR /&gt;VERBOSE: Starting EMS logging&lt;BR /&gt;VERBOSE: Failed to complete EMS logging The remote server returned an error: (400) Bad Request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure if this is related to the issue. One thing I am not sure about is that I do not have the ability to DISCONNECT from a controller before connecting to the next one.&amp;nbsp;Please help me understand the problem here, fix the file lockout issue, or find a workaround.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 17:31:44 GMT</pubDate>
    <dc:creator>tonypags</dc:creator>
    <dc:date>2024-12-10T17:31:44Z</dc:date>
    <item>
      <title>PowerShell ONTAP script causing file lockouts</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/PowerShell-ONTAP-script-causing-file-lockouts/m-p/457266#M44368</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I wrote a health check script using the NetApp.ONTAP PowerShell SDK v9.14.1.2401 and it's working OK, but my team told me that they are getting files locked out due to my script running. In their logs (see screenshot) it shows the error message&lt;/P&gt;&lt;P&gt;"GET /api/private/cli/system/node/virtual-machine/instance/show-settings/?fields=consumer"&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;"This API is unsupported on this platform."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are no errors when I run the script, and no indication of any issues. However, when I run the script with verbose messaging enabled, I get this message when running the &lt;U&gt;Connect-NcController&lt;/U&gt; command:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;VERBOSE: Trying HTTP/HTTPS&lt;BR /&gt;VERBOSE: Connected to &amp;lt;HOSTNAME&amp;gt;.&amp;lt;domain&amp;gt;.tld using HTTPS&lt;BR /&gt;VERBOSE: Setting value of global:CurrentNcController&lt;BR /&gt;VERBOSE: Starting EMS logging&lt;BR /&gt;VERBOSE: Failed to complete EMS logging The remote server returned an error: (400) Bad Request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure if this is related to the issue. One thing I am not sure about is that I do not have the ability to DISCONNECT from a controller before connecting to the next one.&amp;nbsp;Please help me understand the problem here, fix the file lockout issue, or find a workaround.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 17:31:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/PowerShell-ONTAP-script-causing-file-lockouts/m-p/457266#M44368</guid>
      <dc:creator>tonypags</dc:creator>
      <dc:date>2024-12-10T17:31:44Z</dc:date>
    </item>
  </channel>
</rss>

