<?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 PSTK Cmdlet Request in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148770#M6012</link>
    <description>&lt;P&gt;Desire a PowerShell equivalent of the following CLI command and/or similar.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ontap::&amp;gt; network connections active show -vserver myvserver -lif-name mylifname&lt;BR /&gt;&lt;BR /&gt;ontap::&amp;gt; network connections active show ?&lt;BR /&gt;[ -instance | -print-ip-addresses | -fields &amp;lt;fieldname&amp;gt;, ... ]&lt;BR /&gt;[[-node] &amp;lt;nodename&amp;gt;] Node&lt;BR /&gt;[[-cid] &amp;lt;Cid&amp;gt;] Connection ID&lt;BR /&gt;[ -vserver &amp;lt;vserver&amp;gt; ] Vserver&lt;BR /&gt;[ -lif-name &amp;lt;lif-name&amp;gt; ] Logical Interface Name&lt;BR /&gt;[ -local-address &amp;lt;IP Address&amp;gt; ] Local IP address&lt;BR /&gt;[ -local-port &amp;lt;integer&amp;gt; ] Local Port&lt;BR /&gt;[ -remote-ip &amp;lt;InetAddress&amp;gt; ] Remote IP Address&lt;BR /&gt;[ -remote-host &amp;lt;Remote IP&amp;gt; ] Remote Host&lt;BR /&gt;[ -remote-port &amp;lt;integer&amp;gt; ] Remote Port&lt;BR /&gt;[ -proto {UDP|TCP} ] Protocol&lt;BR /&gt;[ -lifid &amp;lt;integer&amp;gt; ] Logical Interface ID&lt;BR /&gt;[ -service &amp;lt;protocol service&amp;gt; ] Protocol Service&lt;BR /&gt;[ -lru {yes|no} ] Least Recently Used&lt;BR /&gt;[ -blocks-lb {true|false} ] Connection Blocks Load Balance Migrate&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 12:29:36 GMT</pubDate>
    <dc:creator>NickSnyder</dc:creator>
    <dc:date>2025-06-04T12:29:36Z</dc:date>
    <item>
      <title>PSTK Cmdlet Request</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148770#M6012</link>
      <description>&lt;P&gt;Desire a PowerShell equivalent of the following CLI command and/or similar.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;ontap::&amp;gt; network connections active show -vserver myvserver -lif-name mylifname&lt;BR /&gt;&lt;BR /&gt;ontap::&amp;gt; network connections active show ?&lt;BR /&gt;[ -instance | -print-ip-addresses | -fields &amp;lt;fieldname&amp;gt;, ... ]&lt;BR /&gt;[[-node] &amp;lt;nodename&amp;gt;] Node&lt;BR /&gt;[[-cid] &amp;lt;Cid&amp;gt;] Connection ID&lt;BR /&gt;[ -vserver &amp;lt;vserver&amp;gt; ] Vserver&lt;BR /&gt;[ -lif-name &amp;lt;lif-name&amp;gt; ] Logical Interface Name&lt;BR /&gt;[ -local-address &amp;lt;IP Address&amp;gt; ] Local IP address&lt;BR /&gt;[ -local-port &amp;lt;integer&amp;gt; ] Local Port&lt;BR /&gt;[ -remote-ip &amp;lt;InetAddress&amp;gt; ] Remote IP Address&lt;BR /&gt;[ -remote-host &amp;lt;Remote IP&amp;gt; ] Remote Host&lt;BR /&gt;[ -remote-port &amp;lt;integer&amp;gt; ] Remote Port&lt;BR /&gt;[ -proto {UDP|TCP} ] Protocol&lt;BR /&gt;[ -lifid &amp;lt;integer&amp;gt; ] Logical Interface ID&lt;BR /&gt;[ -service &amp;lt;protocol service&amp;gt; ] Protocol Service&lt;BR /&gt;[ -lru {yes|no} ] Least Recently Used&lt;BR /&gt;[ -blocks-lb {true|false} ] Connection Blocks Load Balance Migrate&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:29:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148770#M6012</guid>
      <dc:creator>NickSnyder</dc:creator>
      <dc:date>2025-06-04T12:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: PSTK Cmdlet Request</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148771#M6013</link>
      <description>&lt;P&gt;Hi Nick,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll pass the request on, in the meantime it would be possible to write a function using "Invoke-NcSystemApi" as a wrapper around the CLI. The advantage of using Invoke-NcSystemApi is that it's via HTTPS only and doesn't require SSH. Here are a few "examples".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Re-Issue-with-Invoke-NcSystemApi/td-p/142273" href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Re-Issue-with-Invoke-NcSystemApi/td-p/142273" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Re-Issue-with-Invoke-NcSystemApi/td-p/142273&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5P1-released/td-p/138566/page/2" href="https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5P1-released/td-p/138566/page/2" target="_blank" rel="noopener"&gt;https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/NetApp-PowerShell-Toolkit-4-5P1-released/td-p/138566/page/2&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Matt&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 00:20:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148771#M6013</guid>
      <dc:creator>mbeattie</dc:creator>
      <dc:date>2019-06-07T00:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: PSTK Cmdlet Request</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148779#M6014</link>
      <description>&lt;P&gt;...or use Invoke-NcSsh if your environment allows SSH sessions...&lt;/P&gt;
&lt;PRE&gt;PS C:\WINDOWS\system32&amp;gt; Invoke-NcSsh -Command "network connections active show -vserver Cluster"

NcController : 10.0.10.13
Value        :

               Last login time: 6/7/2019 15:58:16

               Vserver    Interface              Remote
               Name       Name:Local Port        Host:Port                    Protocol/Service
               ---------- ---------------------- ---------------------------- ----------------
               Node: master-01
               Cluster    master-01_clus2:7700   169.254.205.30:17997         TCP/ctlopcp
               Cluster    master-01_clus2:7700   169.254.205.30:18013         TCP/ctlopcp
               Cluster    master-01_clus2:7700   169.254.205.30:18015         TCP/ctlopcp
               Cluster    master-01_clus2:7700   169.254.205.30:18007         TCP/ctlopcp
               Cluster    master-01_clus2:7700   169.254.205.30:18009         TCP/ctlopcp
               Cluster    master-01_clus2:7700   169.254.205.30:18005         TCP/ctlopcp
               Cluster    master-01_clus2:7700   169.254.205.30:18011         TCP/ctlopcp
               Cluster    master-01_clus1:7700   169.254.27.248:18006         TCP/ctlopcp
               Cluster    master-01_clus1:7700   169.254.27.248:18014         TCP/ctlopcp&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 16:00:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PSTK-Cmdlet-Request/m-p/148779#M6014</guid>
      <dc:creator>JohnChampion</dc:creator>
      <dc:date>2019-06-07T16:00:20Z</dc:date>
    </item>
  </channel>
</rss>

