<?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 Slow to Connect in PowerShell Discussions</title>
    <link>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468215#M57</link>
    <description>&lt;P&gt;When connecting (&lt;SPAN&gt;Connect-NcController)&amp;nbsp;&lt;/SPAN&gt;my ontap arrays, it can take around 40 seconds to connect to our main one.&amp;nbsp; When I connect to my others ones, it takes around 3-5 seconds.&lt;/P&gt;&lt;P&gt;I get no errors, so I am not sure why this is. Is it simply because our main array is busy and API connections have a lower priority?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running PowerShell 7.6.3 with NetApp.ONTAP module version&amp;nbsp;9.18.1.26.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2026 14:03:01 GMT</pubDate>
    <dc:creator>MattBaldwin</dc:creator>
    <dc:date>2026-07-21T14:03:01Z</dc:date>
    <item>
      <title>PowerShell Slow to Connect</title>
      <link>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468215#M57</link>
      <description>&lt;P&gt;When connecting (&lt;SPAN&gt;Connect-NcController)&amp;nbsp;&lt;/SPAN&gt;my ontap arrays, it can take around 40 seconds to connect to our main one.&amp;nbsp; When I connect to my others ones, it takes around 3-5 seconds.&lt;/P&gt;&lt;P&gt;I get no errors, so I am not sure why this is. Is it simply because our main array is busy and API connections have a lower priority?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running PowerShell 7.6.3 with NetApp.ONTAP module version&amp;nbsp;9.18.1.26.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 14:03:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468215#M57</guid>
      <dc:creator>MattBaldwin</dc:creator>
      <dc:date>2026-07-21T14:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Slow to Connect</title>
      <link>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468230#M58</link>
      <description>&lt;P&gt;Hey Matt,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a difference in ONTAP versions between the cluster with connection latency compare to the one that connects quicker? Is the ONTAP version &amp;gt;= 9.6 and are you using the -ZapiCall with Connect-NcController? Is there much difference in Network TTL or bandwidth between them? Are DNS forward and reverse lookups configured for both clusters? Assuming there aren't any issues with the above I would start by enabling debug logging on the PSTK from an elevate PowerShell prompt (running as admin):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;C:\PS&amp;gt;Set-NaToolkitConfiguration -DebugLevel DEBUG&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use that to log the API calls and see if there are any differences between creating the connections to your clusters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Matt&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 00:52:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468230#M58</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2026-07-22T00:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Slow to Connect</title>
      <link>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468236#M59</link>
      <description>&lt;P&gt;Thanks for replying to me.&lt;/P&gt;&lt;P&gt;The ONTAP versions are the same across the multiple arrays I looked at.&amp;nbsp; They are running 9.17.1P2, but this has been going on since I started using powershell to manage some tasks a couple years ago.&lt;/P&gt;&lt;P&gt;For my connection, I am just using&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Connect-NcController&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;Name &lt;/SPAN&gt;&lt;SPAN&gt;$ClusterIP&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;Credential &lt;/SPAN&gt;&lt;SPAN&gt;$&lt;/SPAN&gt;&lt;SPAN&gt;Global&lt;/SPAN&gt;&lt;SPAN&gt;:pullcredential&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Some of these arrays are in the same datacenter and same subnet, so no bandwidth issue. In fact, our datacenter down south is faster than my local one for powershell queries...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'll review DNS and&amp;nbsp;try that debuglevel now.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Jul 2026 14:26:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468236#M59</guid>
      <dc:creator>MattBaldwin</dc:creator>
      <dc:date>2026-07-22T14:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Slow to Connect</title>
      <link>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468237#M60</link>
      <description>&lt;P&gt;So much text scrolls by and my buffer isn't able to capture it all. I've tried redirecting to a file as well as starting transcript, but the api output isn't getting captured...&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 15:06:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468237#M60</guid>
      <dc:creator>MattBaldwin</dc:creator>
      <dc:date>2026-07-22T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Slow to Connect</title>
      <link>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468238#M61</link>
      <description>&lt;P&gt;It loops through this many many times while my other arrays do not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// File generated by the Data ONTAP PowerShell Toolkit&lt;BR /&gt;powershell.usagelog.version=1&lt;BR /&gt;powershell.usagelog.lastupdated=1781263738&lt;BR /&gt;powershell.cmdlet.CONNECTNCCONTROLLER.count=4374&lt;BR /&gt;powershell.usagelog.timestamp=1781287407&lt;BR /&gt;powershell.cmdlet.GETNCCLUSTER.count=1560&lt;BR /&gt;powershell.cmdlet.GETNCSYSTEMVERSIONINFO.count=2215&lt;BR /&gt;powershell.cmdlet.GETNCSNAPSHOTPOLICY.count=464&lt;BR /&gt;powershell.cmdlet.NEWNCVOL.count=463&lt;BR /&gt;powershell.cmdlet.SETNCVOLAUTOSIZE.count=190&lt;BR /&gt;powershell.cmdlet.SETNCSNAPSHOTRESERVE.count=1&lt;BR /&gt;powershell.cmdlet.NEWNCSNAPMIRROR.count=461&lt;BR /&gt;powershell.cmdlet.GETNCVOL.count=5770&lt;BR /&gt;powershell.cmdlet.UPDATENCVOL.count=70&lt;BR /&gt;powershell.cmdlet.GETNCCLUSTERPEER.count=2968&lt;BR /&gt;powershell.cmdlet.NEWNCVSERVERPEER.count=1129&lt;BR /&gt;powershell.cmdlet.GETNCVSERVERPEER.count=2203&lt;BR /&gt;powershell.cmdlet.INVOKENCSNAPMIRRORINITIALIZE.count=461&lt;BR /&gt;powershell.cmdlet.GETNCSNAPMIRROR.count=3750&lt;BR /&gt;powershell.cmdlet.GETNCCLUSTERPEERPOLICY.count=1361&lt;BR /&gt;powershell.cmdlet.NEWNCQTREE.count=54&lt;BR /&gt;powershell.cmdlet.ADDNCCIFSSHARE.count=33&lt;BR /&gt;powershell.cmdlet.GETNCCIFSSHARE.count=338&lt;BR /&gt;powershell.cmdlet.ADDNCCIFSSHAREACL.count=85&lt;BR /&gt;powershell.cmdlet.CONFIRMNCVSERVERPEER.count=2&lt;BR /&gt;powershell.cmdlet.GETNCSYSTEMVERSION.count=65&lt;BR /&gt;powershell.cmdlet.GETNCVOLLANGUAGE.count=86&lt;BR /&gt;powershell.cmdlet.STARTNCVOLMOVE.count=2&lt;BR /&gt;powershell.cmdlet.GETNCVOLMOVE.count=2&lt;BR /&gt;powershell.cmdlet.GETNCJOB.count=4&lt;BR /&gt;powershell.cmdlet.NEWNCEXPORTPOLICY.count=1&lt;BR /&gt;powershell.cmdlet.GETNCEXPORTPOLICY.count=9&lt;BR /&gt;powershell.cmdlet.NEWNCEXPORTRULE.count=1&lt;BR /&gt;powershell.cmdlet.GETNCVSERVER.count=43&lt;BR /&gt;powershell.cmdlet.GETNCCIFSSERVER.count=29&lt;BR /&gt;powershell.cmdlet.GETNCNETINTERFACE.count=33&lt;BR /&gt;powershell.cmdlet.GETNCQUOTAREPORT.count=3284&lt;BR /&gt;powershell.cmdlet.GETNCQTREE.count=2164&lt;BR /&gt;powershell.cmdlet.GETNCQUOTA.count=88&lt;BR /&gt;powershell.cmdlet.SETNCQUOTA.count=1525&lt;BR /&gt;powershell.cmdlet.GETNCSNAPSHOT.count=702&lt;BR /&gt;powershell.cmdlet.GETNCQTREEMETRICS.count=2&lt;BR /&gt;powershell.cmdlet.GETNCFILEDIRECTORYSECURITY.count=1&lt;BR /&gt;powershell.cmdlet.ADDNCQUOTA.count=31&lt;BR /&gt;powershell.cmdlet.SETNCCIFSSHARE.count=43&lt;BR /&gt;powershell.cmdlet.REMOVENCCIFSSHAREACL.count=31&lt;BR /&gt;powershell.cmdlet.GETNCVOLLIMIT.count=3&lt;BR /&gt;powershell.cmdlet.GETNCVOLSPACE.count=5&lt;BR /&gt;powershell.cmdlet.GETNCVOLSIZE.count=3&lt;BR /&gt;powershell.cmdlet.GETNCEXPORTRULE.count=6&lt;BR /&gt;powershell.cmdlet.GETNCEMSDESTINATION.count=1&lt;BR /&gt;powershell.cmdlet.GETNCUSER.count=2&lt;BR /&gt;powershell.cmdlet.GETNCCLUSTERNODE.count=2&lt;BR /&gt;powershell.cmdlet.GETNCNTPSERVER.count=1&lt;BR /&gt;powershell.cmdlet.GETNCEMSEVENTNOTIFICATION.count=1&lt;BR /&gt;powershell.cmdlet.GETNCEMSEVENTNOTIFICATIONDESTINATION.count=2&lt;BR /&gt;powershell.cmdlet.GETNCEMSCONFIG.count=1&lt;BR /&gt;powershell.cmdlet.GETNCSNMP.count=1&lt;BR /&gt;powershell.cmdlet.GETNCSNMPCOMMUNITY.count=1&lt;BR /&gt;powershell.cmdlet.GETNCVSERVERLOGINBANNER.count=1&lt;BR /&gt;powershell.cmdlet.GETNCSECURITYSSH.count=2&lt;BR /&gt;powershell.cmdlet.GETNCSECURITYPROTOCOLSSH.count=1&lt;BR /&gt;powershell.cmdlet.GETNCSECURITYSESSIONLIMIT.count=1&lt;BR /&gt;powershell.cmdlet.GETNCNETPORT.count=4&lt;BR /&gt;powershell.cmdlet.GETNCSECURITYKEYMANAGERONBOARDBACKUP.count=1&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2026 15:09:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/PowerShell-Discussions/PowerShell-Slow-to-Connect/m-p/468238#M61</guid>
      <dc:creator>MattBaldwin</dc:creator>
      <dc:date>2026-07-22T15:09:43Z</dc:date>
    </item>
  </channel>
</rss>

