June 16th, 2013

PowerTip: Use PowerShell to Find IP Config of Adapter

Doctor Scripto
Scripter

Summary: Use Windows PowerShell 3.0 in Windows 8 to find the IP configuration of a specifically named IP adapter.

Hey, Scripting Guy! Question How can I use Windows PowerShell 3.0 in Windows 8 to easily find the IP address configuration of a network adapter named External Ethernet Apapter?

Hey, Scripting Guy! Answer Use a wildcard character with the Get-NetAdapter function and pipe the results to the Get-NetIPAddress function:

Get-NetAdapter -Name *external* | Get-NetIPAddress

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.