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