- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Getting MAC Addresses for all interfaces
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2006 03:38 AM
тАО07-07-2006 03:38 AM
Getting MAC Addresses for all interfaces
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.
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.
any help would be greatly appreciated.
Thx
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 02:57 AM
тАО11-22-2006 02:57 AM
Re: Getting MAC Addresses for all interfaces
Did you ever find a solution for this?
Cheers
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 09:21 PM
тАО12-07-2006 09:21 PM
Re: Getting MAC Addresses for all interfaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 03:23 AM
тАО12-08-2006 03:23 AM
Re: Getting MAC Addresses for all interfaces
strMachineName="."
Set objWMIService = GetObject("winmgmts:{(Security)}\\" & strMachineName & "\root\cimv2")
Set objNetworkAdapters = objWMIService.ExecQuery("select * from Win32_NetworkAdapterConfiguration" ) ' where IPEnabled = 1")
If err.number = 0 Then
For Each objAdapter In objNetworkAdapters
If isarray(objAdapter.IPAddress) Then
For iLoop = 0 To ubound(objAdapter.IPAddress)
strIPAddress= objAdapter.IPAddress(iloop) & "," & strIPAddress
Next
strIPAddress= left(strIPAddress, len(strIPAddress)-1)
Else
strIPAddress= objAdapter.IPAddress
End If
If strIPAddress= "" Then
strIPAddress= (none)
End If
strMACAddress = objAdapter.MacAddress
If strMACAddress <> "" Then
wscript.echo objAdapter.Caption & "," & strMACAddress
End If
Next
Else
If err.number = 424 Then
strStatus = "WMI not available"
Else
strStatus = err.Number & " - " & err.Description
End if
wscript.echo strstatus & "," & strMACAddress
End If
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2006 04:19 AM
тАО12-11-2006 04:19 AM
Re: Getting MAC Addresses for all interfaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2007 08:35 AM
тАО04-19-2007 08:35 AM
Re: Getting MAC Addresses for all interfaces
Unfortunately it will not get the "burned-in" mac address once it is teamed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2007 05:37 AM
тАО04-24-2007 05:37 AM