Share via

Windows 7 info

Anonymous
2021-11-17T15:18:37.16+00:00

Hi,

The information about physical network adapters

Appreciate your inputs.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Leon Laude 86,201 Reputation points
    2021-11-17T15:54:09+00:00

    Hi anonymous user,

    Since the Get-NetAdapter PowerShell cmdlet is not available for Windows 7, you may use WMI to retrieve this information.

    Here's an example:

    Get-CimInstance win32_networkadapterconfiguration | where {$_.IPAddress -ne $null} | select *

    For PowerShell 2.0 you may use the Get-WmiObject cmdlet, example:

    Get-WmiObject -Class Win32_NetworkAdapterConfiguration -Filter IPEnabled=TRUE | Select *

    ----------

    If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!

    Best regards,
    Leon

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.