Learn about Windows PowerShell
Summary: Use Windows PowerShell to enable all network adapters.
How can I use Window PowerShell to quickly enable all network adapters on my Windows 8.1 laptop?
Use the Get-NetAdapter and the Enable-NetAdapter commands:
Get-NetAdapter | ? status -ne up | Enable-NetAdapter
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...