<?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: PowerShell toolkit 3.2 slow command execution in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101570#M4180</link>
    <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;Just had a thought about the MTU 9000 as you mentioned that you also had this set as 9000 on the switches. Can I ask if you have the MTU set to exactly 9000 on the switches? The MTU should be higher like 9216 on the switch as the switch needs to add on header information to the packet and if the packet is sent as 9000 and the switch MTU is 9000 the the packet will get truncated.&lt;BR /&gt;&lt;BR /&gt;- Jason</description>
    <pubDate>Mon, 09 Mar 2015 14:39:33 GMT</pubDate>
    <dc:creator>PADMANTECH</dc:creator>
    <dc:date>2015-03-09T14:39:33Z</dc:date>
    <item>
      <title>PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101553#M4173</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having some issues with PowerShell toolkit v3.2 and it being very slow running a command for the first time. &amp;nbsp;System is 2008 R2, PowerShell v2.0 (same in v4.0), WFA 3.0 and PowerShell Toolkit v3.2, this is connecting to a cDOT environment running ONTAP 8.2.2P1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've already done the certification revokation modification and have checked all DNS settings are correct and resolution is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The behaviour we see is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS&amp;gt; measure-command { connect-nccontroller $sourcecluster -credential $cred }&lt;BR /&gt;Days : 0&lt;BR /&gt;Hours : 0&lt;BR /&gt;Minutes : 0&lt;BR /&gt;Seconds : 18&lt;BR /&gt;Milliseconds : 641&lt;BR /&gt;Ticks : 186419303&lt;BR /&gt;TotalDays : 0.000215763082175926&lt;BR /&gt;TotalHours : 0.00517831397222222&lt;BR /&gt;TotalMinutes : 0.310698838333333&lt;BR /&gt;TotalSeconds : 18.6419303&lt;BR /&gt;TotalMilliseconds : 18641.9303&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS&amp;gt; measure-command { connect-nccontroller $sourcecluster -credential $cred }&lt;BR /&gt;Days : 0&lt;BR /&gt;Hours : 0&lt;BR /&gt;Minutes : 0&lt;BR /&gt;Seconds : 1&lt;BR /&gt;Milliseconds : 810&lt;BR /&gt;Ticks : 18107036&lt;BR /&gt;TotalDays : 2.09572175925926E-05&lt;BR /&gt;TotalHours : 0.000502973222222222&lt;BR /&gt;TotalMinutes : 0.0301783933333333&lt;BR /&gt;TotalSeconds : 1.8107036&lt;BR /&gt;TotalMilliseconds : 1810.7036&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is mirrored by every command we run, the first time it takes ~20 seconds, then every time after that 1-4 seconds regardless of how many times we run the command. &amp;nbsp;If we close a re-launch PowerShell we see the same behavior again.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:54:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101553#M4173</guid>
      <dc:creator>AndrewR</dc:creator>
      <dc:date>2025-06-05T04:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101559#M4174</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interesting problem you have there. I am using Toolkit version 3.2.1&amp;nbsp;and have&amp;nbsp;not seen this problem but thought i might ask a few questions to help&amp;nbsp;naror down the problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Do you see the same problem when using another host apart from the WFA server?&lt;/P&gt;&lt;P&gt;2. What athentication are you using, Local or AD? If using AD, have you tired just local?&lt;/P&gt;&lt;P&gt;3. Are you connecting to the Cluster or Node SVM?&lt;/P&gt;&lt;P&gt;4. What interface does the LIF sit on that you are conecting too? MTU? Flow Control?&lt;/P&gt;&lt;P&gt;5. Tried Connecting over HTTP instead of HTTPS?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PS&amp;gt; measure-command { connect-nccontroller $sourcecluster -credential $cred -HTTP}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know you have already siad that you have checked the&amp;nbsp;&lt;SPAN&gt;certification revokation modification but really sounds like the same issue and would double check the setting has been changed to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing] "State"=dword:00023e00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jason&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:25:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101559#M4174</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2015-03-09T12:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101560#M4175</link>
      <description>&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the prompt response, in answer to your questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Yes, we have tried two hosts so far and am just building a standalone non AD joined VM to test on that&lt;/P&gt;&lt;P&gt;2. Local auth, have even tried with cluster "admin" account&lt;/P&gt;&lt;P&gt;3. Cluster SVM&lt;/P&gt;&lt;P&gt;4. LIF sits on a LACP and VLAN port, I have tried this on all four controllers in the cluster and get the same. &amp;nbsp;Port settings are matched to switch (MTU 9000 no flow control)&lt;/P&gt;&lt;P&gt;5. It does seem quicker over HTTP rather than HTTPS, will check out HTTPS configuration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have checked this setting in registry and matches what I'd expect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:38:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101560#M4175</guid>
      <dc:creator>AndrewR</dc:creator>
      <dc:date>2015-03-09T12:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101561#M4176</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing that i would change is the MTU. I don't think it would be the smoking gun but for managment commands a MTU of 1500 (Default) would be better suited to the cluster managment LIF.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Out of interest:&lt;/P&gt;&lt;P&gt;1. When you connect over SSH do you see any delay in connecting or sending commands?&lt;/P&gt;&lt;P&gt;2. Any firewall's inbetween Host and Controller? Hops (Tracert)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Jason&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:47:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101561#M4176</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2015-03-09T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101562#M4177</link>
      <description>&lt;P&gt;No firewalls in place, and SSH connectivity seems similar in speed to any other system&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 12:50:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101562#M4177</guid>
      <dc:creator>AndrewR</dc:creator>
      <dc:date>2015-03-09T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101567#M4178</link>
      <description>&lt;P&gt;since it is the first command, could the delay be caused by loading the dataontap module? or are you explicitly running import-module dataontap already?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 14:15:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101567#M4178</guid>
      <dc:creator>markweber</dc:creator>
      <dc:date>2015-03-09T14:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101570#M4180</link>
      <description>Hi Andrew,&lt;BR /&gt;&lt;BR /&gt;Just had a thought about the MTU 9000 as you mentioned that you also had this set as 9000 on the switches. Can I ask if you have the MTU set to exactly 9000 on the switches? The MTU should be higher like 9216 on the switch as the switch needs to add on header information to the packet and if the packet is sent as 9000 and the switch MTU is 9000 the the packet will get truncated.&lt;BR /&gt;&lt;BR /&gt;- Jason</description>
      <pubDate>Mon, 09 Mar 2015 14:39:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101570#M4180</guid>
      <dc:creator>PADMANTECH</dc:creator>
      <dc:date>2015-03-09T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101572#M4181</link>
      <description>&lt;P&gt;Hi all, thanks for all the replies!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So we load the modules separately (import-module dataontap) and the MTU sizing on the switches in 9126 (this is managed by the networks team)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have managed to resolve this, or at least appear to resolve this, by importing the SSL certificates from the filers into Trusted Root on the server running PowerShell commands from.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2015 14:42:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101572#M4181</guid>
      <dc:creator>AndrewR</dc:creator>
      <dc:date>2015-03-09T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell toolkit 3.2 slow command execution</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101776#M4183</link>
      <description>&lt;P&gt;I had the same issues in some environments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found out that another windows "feature" was causing this in most: auto-update of SSL root authorities and auto-update of "bad certificates". It's not only cert revocation lists that are checked by the OS by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just try the resolution of VMware KB 2084025, although not directly related, this can solve a lot of issues with any kind of "SSL-connect-delay" on a box that has no or partial internet connectivity, esp. when it cannot get to download.windowsupdate.com.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found the original solution here: &lt;A target="_blank" href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=2084025"&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=2084025&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2015 23:04:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-toolkit-3-2-slow-command-execution/m-p/101776#M4183</guid>
      <dc:creator>mark_schuren</dc:creator>
      <dc:date>2015-03-14T23:04:44Z</dc:date>
    </item>
  </channel>
</rss>

