<?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 Problem with Get-NcNetInterface in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Problem-with-Get-NcNetInterface/m-p/144579#M32541</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the Netapp powershell toolkit 4.6.0 (though the output looks like this from the Get-NaToolkitVersion command):&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:\Windows\system32&amp;gt; Get-NaToolkitVersion&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Major Minor Build Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----- ----- ----- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;4 4 0 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On Windows 2016:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Major Minor Build Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----- ----- ----- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;10 0 14393 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(Can someone explain why this happens?&lt;/P&gt;
&lt;P&gt;PS C:\Windows\system32&amp;gt; (Get-NCNetInterface).address&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;OverloadDefinitions&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;-------------------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;System.Object&amp;amp;, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Address(int )&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am expecting a list of all the IP addresses, one for each interface but I get this "error".&amp;nbsp; I can do other things without any issues like, a standard Get-NcInterface produces the expected result. For example, this works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:\Windows\system32&amp;gt; Get-NCNetInterface |fl address&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Address : 169.254.60.248&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Address : 169.254.1.195&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 13:07:45 GMT</pubDate>
    <dc:creator>jhamoline</dc:creator>
    <dc:date>2025-06-04T13:07:45Z</dc:date>
    <item>
      <title>Problem with Get-NcNetInterface</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Problem-with-Get-NcNetInterface/m-p/144579#M32541</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the Netapp powershell toolkit 4.6.0 (though the output looks like this from the Get-NaToolkitVersion command):&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:\Windows\system32&amp;gt; Get-NaToolkitVersion&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Major Minor Build Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----- ----- ----- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;4 4 0 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On Windows 2016:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Major Minor Build Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----- ----- ----- --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;10 0 14393 0&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;(Can someone explain why this happens?&lt;/P&gt;
&lt;P&gt;PS C:\Windows\system32&amp;gt; (Get-NCNetInterface).address&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;OverloadDefinitions&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;-------------------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier" color="#FF0000"&gt;System.Object&amp;amp;, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Address(int )&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am expecting a list of all the IP addresses, one for each interface but I get this "error".&amp;nbsp; I can do other things without any issues like, a standard Get-NcInterface produces the expected result. For example, this works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS C:\Windows\system32&amp;gt; Get-NCNetInterface |fl address&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Address : 169.254.60.248&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Address : 169.254.1.195&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:07:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Problem-with-Get-NcNetInterface/m-p/144579#M32541</guid>
      <dc:creator>jhamoline</dc:creator>
      <dc:date>2025-06-04T13:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Get-NcNetInterface</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Problem-with-Get-NcNetInterface/m-p/145200#M32542</link>
      <description>&lt;P&gt;I get the same output as you when I try to just direct call that property. I'm on Windows 10 with PSTK 4.7.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, if you need it now, you can get that data several ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to the format list command you mentioned, here are a couple of options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get-NcNetInterface | Select -Property Address&lt;/P&gt;
&lt;P&gt;Get-NcNetInterface | Select -ExpandProperty Address&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or start building like this:&lt;/P&gt;
&lt;P&gt;$Addys = Get-NcNetInterface | Select -ExpandProperty Address&lt;/P&gt;
&lt;P&gt;$Addys&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck, and let us know if you already resolved this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 22:16:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Problem-with-Get-NcNetInterface/m-p/145200#M32542</guid>
      <dc:creator>ChanceBingen</dc:creator>
      <dc:date>2018-12-04T22:16:23Z</dc:date>
    </item>
  </channel>
</rss>

