Summary: Find your network adapters that are available.
How can I use Windows PowerShell to find which network adapters on my computer are up?
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.