PowerTip: Find Network Adapters that Are Up

Doctor Scripto

Summary: Find your network adapters that are available.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find which network adapters on my computer are up?

Hey, Scripting Guy! Answer Use the Get-NetAdapter cmdlet and filter on the status, for example:

(Get-NetAdapter).where{$_.status -eq 'up'}

Note  This command works on Windows 8.1 and later.

0 comments

Discussion is closed.

Feedback usabilla icon