<?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: ONTAP PowerShell commands run in debug mode. in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447415#M42743</link>
    <description>&lt;P&gt;what about the following variable? default is "SilentlyContinue"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\temp&amp;gt; &lt;STRONG&gt;$DebugPreference&lt;/STRONG&gt;&lt;BR /&gt;SilentlyContinue&lt;BR /&gt;PS C:\temp&amp;gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 07:27:38 GMT</pubDate>
    <dc:creator>Christian_Ott</dc:creator>
    <dc:date>2023-09-04T07:27:38Z</dc:date>
    <item>
      <title>ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447398#M42742</link>
      <description>&lt;P&gt;All of my ONTAP PowerShell commands are, by default, running in debug mode. The commands all work, they are just prefaced with debug trace information. I'm running DataONTAP 9.8.0 &amp;amp; NetApp.ONTAP 9.13.1.2306. Sample output follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connect-nccontroller -Name johnnacm01 -Credential $(Get-Credential)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2023-09-01 13:30:57,060 INFO DataONTAP.C.PowerShell.SDK.ConnectNcController - Cmdlet invocation: connect-nccontroller -Name johnnacm01 -Credential $(Get-Credential)&lt;BR /&gt;2023-09-01 13:30:57,089 DEBUG NetApp.Ontapi.NaServer - Application name set to PowerShell Toolkit&lt;BR /&gt;2023-09-01 13:30:57,090 DEBUG DataONTAP.C.PowerShell.SDK.ConnectNcController - Trying HTTP/HTTPS&lt;BR /&gt;2023-09-01 13:30:57,090 DEBUG NetApp.Ontapi.NaServer - NaServer port changed to 443&lt;BR /&gt;2023-09-01 13:30:57,091 DEBUG NetApp.Ontapi.NaServer - NaServer Protocol changed to HTTPS&lt;BR /&gt;2023-09-01 13:30:57,091 DEBUG NetApp.Ontapi.NaServer - Proxy changed to&lt;BR /&gt;2023-09-01 13:30:57,091 DEBUG DataONTAP.C.PowerShell.SDK.ConnectNcController - Connecting to johnnacm01 via HTTPS&lt;BR /&gt;2023-09-01 13:30:57,093 DEBUG NetApp.Ontapi.NaServer - &amp;lt;netapp version='1.0' xmlns='&lt;A href="http://www.netapp.com/filer/admin" target="_blank"&gt;http://www.netapp.com/filer/admin&lt;/A&gt;'&amp;gt;&amp;lt;system-get-version /&amp;gt;&amp;lt;/netapp&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:45:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447398#M42742</guid>
      <dc:creator>DavidTatFMG</dc:creator>
      <dc:date>2025-06-04T09:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447415#M42743</link>
      <description>&lt;P&gt;what about the following variable? default is "SilentlyContinue"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\temp&amp;gt; &lt;STRONG&gt;$DebugPreference&lt;/STRONG&gt;&lt;BR /&gt;SilentlyContinue&lt;BR /&gt;PS C:\temp&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 07:27:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447415#M42743</guid>
      <dc:creator>Christian_Ott</dc:creator>
      <dc:date>2023-09-04T07:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447429#M42745</link>
      <description>&lt;P&gt;Thanks for the reply, Christian...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PS C:\PowerShell&amp;gt; $DebugPreference&lt;BR /&gt;SilentlyContinue&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 13:14:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447429#M42745</guid>
      <dc:creator>DavidTatFMG</dc:creator>
      <dc:date>2023-09-05T13:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447455#M42746</link>
      <description>&lt;P&gt;did that solve your problem? was that the right approach? If not, than I can't help you any further &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 05:02:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447455#M42746</guid>
      <dc:creator>Christian_Ott</dc:creator>
      <dc:date>2023-09-06T05:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447466#M42751</link>
      <description>&lt;P&gt;Hi Christian, unfortunately it did not. The odd thing is if I run the same ONTAP cmdlets from Powershell ISE they work fine, it's only when I run them from a Powershell window they run in debug mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 13:32:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447466#M42751</guid>
      <dc:creator>DavidTatFMG</dc:creator>
      <dc:date>2023-09-06T13:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447542#M42753</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried turning off debug logging?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Set-NaToolkitConfiguration -LogLevel OFF

PARAMETERS
    -LogLevel &amp;lt;String&amp;gt;
        The log level.  Possible values: DEBUG, ERROR, WARN, OFF.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 10:01:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447542#M42753</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2023-09-08T10:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: ONTAP PowerShell commands run in debug mode.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447543#M42754</link>
      <description>&lt;P&gt;That did it, Matt! Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 12:16:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/ONTAP-PowerShell-commands-run-in-debug-mode/m-p/447543#M42754</guid>
      <dc:creator>DavidTatFMG</dc:creator>
      <dc:date>2023-09-08T12:16:48Z</dc:date>
    </item>
  </channel>
</rss>

