<?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 Getting MAC Addresses for all interfaces in Server Management - Systems Insight Manager</title>
    <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819755#M61950</link>
    <description>HI there,&lt;BR /&gt;&lt;BR /&gt;I am trying to get the MAC Addresses via a script or report from servers that are already in SIM. My problem is I only get the MAC of NIC1 from reporting from SIM since the cards have been teamed. &lt;BR /&gt;&lt;BR /&gt;Is there a way I can pull this via a script? even if use "GETMAC" it will only display NIC1 MAC address. Also I would really like to be able to get the MAC Address of the ILO Card as well. &lt;BR /&gt;&lt;BR /&gt;any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thx &lt;BR /&gt;&lt;BR /&gt;Jonathan</description>
    <pubDate>Fri, 07 Jul 2006 10:38:43 GMT</pubDate>
    <dc:creator>Jonathan Hylton</dc:creator>
    <dc:date>2006-07-07T10:38:43Z</dc:date>
    <item>
      <title>Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819755#M61950</link>
      <description>HI there,&lt;BR /&gt;&lt;BR /&gt;I am trying to get the MAC Addresses via a script or report from servers that are already in SIM. My problem is I only get the MAC of NIC1 from reporting from SIM since the cards have been teamed. &lt;BR /&gt;&lt;BR /&gt;Is there a way I can pull this via a script? even if use "GETMAC" it will only display NIC1 MAC address. Also I would really like to be able to get the MAC Address of the ILO Card as well. &lt;BR /&gt;&lt;BR /&gt;any help would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thx &lt;BR /&gt;&lt;BR /&gt;Jonathan</description>
      <pubDate>Fri, 07 Jul 2006 10:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819755#M61950</guid>
      <dc:creator>Jonathan Hylton</dc:creator>
      <dc:date>2006-07-07T10:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819756#M61951</link>
      <description>Jonathan,&lt;BR /&gt;Did you ever find a solution for this?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;David</description>
      <pubDate>Wed, 22 Nov 2006 10:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819756#M61951</guid>
      <dc:creator>David Kennedy_6</dc:creator>
      <dc:date>2006-11-22T10:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819757#M61952</link>
      <description>Jonathan, do you have any solution yet? If so, wouldn't you mind to share with us?</description>
      <pubDate>Fri, 08 Dec 2006 05:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819757#M61952</guid>
      <dc:creator>Keith Wong</dc:creator>
      <dc:date>2006-12-08T05:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819758#M61953</link>
      <description>&lt;!--!*#--&gt;Could you not do something like this:&lt;BR /&gt;&lt;BR /&gt;    strMachineName="."&lt;BR /&gt;&lt;BR /&gt;    Set objWMIService = GetObject("winmgmts:{(Security)}\\" &amp;amp; strMachineName &amp;amp; "\root\cimv2")&lt;BR /&gt;    Set objNetworkAdapters = objWMIService.ExecQuery("select * from Win32_NetworkAdapterConfiguration" ) ' where IPEnabled = 1")&lt;BR /&gt;    If err.number = 0 Then&lt;BR /&gt;     For Each objAdapter In objNetworkAdapters&lt;BR /&gt;         If isarray(objAdapter.IPAddress) Then&lt;BR /&gt;             For iLoop = 0 To ubound(objAdapter.IPAddress)&lt;BR /&gt;                 strIPAddress=  objAdapter.IPAddress(iloop) &amp;amp; "," &amp;amp; strIPAddress&lt;BR /&gt;             Next&lt;BR /&gt;             strIPAddress= left(strIPAddress, len(strIPAddress)-1)&lt;BR /&gt;         Else&lt;BR /&gt;             strIPAddress=  objAdapter.IPAddress&lt;BR /&gt;         End If &lt;BR /&gt;         If strIPAddress= "" Then &lt;BR /&gt;            strIPAddress= (none)&lt;BR /&gt;         End If   &lt;BR /&gt;         strMACAddress = objAdapter.MacAddress&lt;BR /&gt;         If strMACAddress &amp;lt;&amp;gt; "" Then&lt;BR /&gt;            wscript.echo   objAdapter.Caption  &amp;amp; "," &amp;amp; strMACAddress  &lt;BR /&gt;         End If   &lt;BR /&gt;      Next&lt;BR /&gt;    Else&lt;BR /&gt;       If err.number = 424 Then&lt;BR /&gt;         strStatus = "WMI not available"&lt;BR /&gt;       Else&lt;BR /&gt;         strStatus = err.Number &amp;amp; " - " &amp;amp; err.Description&lt;BR /&gt;       End if&lt;BR /&gt;       wscript.echo strstatus &amp;amp; "," &amp;amp; strMACAddress  &lt;BR /&gt;    End If  &lt;BR /&gt;</description>
      <pubDate>Fri, 08 Dec 2006 11:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819758#M61953</guid>
      <dc:creator>Robert Berrie_2</dc:creator>
      <dc:date>2006-12-08T11:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819759#M61954</link>
      <description>Is that a cmd file?</description>
      <pubDate>Mon, 11 Dec 2006 12:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819759#M61954</guid>
      <dc:creator>MarkButler</dc:creator>
      <dc:date>2006-12-11T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819760#M61955</link>
      <description>No, this is a visual basic script.  You can save it as "filename.vbs" and run it at the command prompt with "cscript filename.vbs".&lt;BR /&gt;&lt;BR /&gt;Unfortunately it will not get the "burned-in" mac address once it is teamed.</description>
      <pubDate>Thu, 19 Apr 2007 15:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819760#M61955</guid>
      <dc:creator>Steve Neruda</dc:creator>
      <dc:date>2007-04-19T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting MAC Addresses for all interfaces</title>
      <link>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819761#M61956</link>
      <description>HP SIM has a full command line interface.  Check out the help or the Technical Reference Guide off the web (i.e. the Help file in printable format).  The command is mxreport....</description>
      <pubDate>Tue, 24 Apr 2007 12:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-systems/getting-mac-addresses-for-all-interfaces/m-p/3819761#M61956</guid>
      <dc:creator>Darrin Rawls</dc:creator>
      <dc:date>2007-04-24T12:37:36Z</dc:date>
    </item>
  </channel>
</rss>

