PowerTip: Use PowerShell to Enable All Network Adapters

PowerTip: Use PowerShell to Enable All Network Adapters

  • Comments 1
  • Likes

Summary: Use Windows PowerShell to enable all network adapters.

Hey, Scripting Guy! Question How can I use Window PowerShell to quickly enable all network adapters on my Windows 8.1 laptop?

Hey, Scripting Guy! Answer Use the Get-NetAdapter and the Enable-NetAdapter commands:

Get-NetAdapter | ? status -ne up | Enable-NetAdapter

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Totally irrelevant, but...: I think, Powershell would be perfect if it was running C# code. All these languages like TypeSript, Powershell, etc that are re-inventing the wheel by defining a new syntax, new functions, etc are a waste of time. Would it be SO hard if you just stick to ONE syntax and let our mind rest in peace? Then make a special PowerShell.dll assembly in the .Net Framework with the extra functions and reference it in Powershell command line tools by default. Then people would at least know how to iterate over an array and might just use this thing of yours... Thank you.