How do I Group BGInfo output?

Tom Hall 1 Reputation point
2021-02-02T14:46:54.737+00:00

My PC has multiple Network Interfaces...

Currently BGInfo's output is un-grouped, and shows as:
Network Card #1
Network Card #2
Network Card #3
IP ADDR #1
IP ADDR #2
IP ADDR #3
MAC #1
MAC #2
MAC #3 etc

I wouId like to have BGInfo display it's stuff grouped eg. (Nic Card, IP Addr, MAC Addr, Speed)
Network Card #1
IP ADDR #1
MAC #1
Network Card #2
IP ADDR #2
MAC #2
Network Card #3
IP ADDR #3
MAC #3

And maybe skip the interfaces that don't have an IP Addr, instead of displaying "(none)" ?

IIRC, there were some threads on this in the "old" forum/community, but I guess that's gone for good ?

-Tom

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,093 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Mario Raccagni Consulente 1 Reputation point
    2021-02-03T13:15:19.293+00:00

    Use a script external to BGInfo and prepare a file with the info you want ordered as you prefer.
    Then load that file from BGInfo..

    so at the end, you will have a loader.cmd which will do this:

    cscript enumerate.vbs
    bginfo c:\temp\config.bgi /timer:0

    HTH
    -mario


  2. Martin Tschimmel 6 Reputation points
    2022-08-29T21:09:46.947+00:00

    only Interfaces with an IP?

    use a custom WMI query with:
    SELECT IPAddress FROM Win32_NetworkAdapterConfiguration where ipenabled=true

    and
    SELECT Name FROM Win32_NetworkAdapter where NetEnabled = True
    gives you the adapter.

    the other information like MAC and DNS or GW you can get by the same way.

    But how to group per aktive interface is a unkown trick.

    0 comments No comments

  3. david16s 5 Reputation points
    2023-07-12T05:09:10.2333333+00:00

    To group BGInfo output:

    1. Select items to group, right-click, and choose "Group."
    2. Customize group properties and arrange groups.
    3. Apply the configuration to display grouped information on the desktop.