Getting Basic Networking Information

by Mar 7, 2016

Beginning with Windows 8.1 and Server 2012 R2, the operating system adds a wealth of new cmdlets for OS management. With these cmdlets, it is almost trivial to manage network adapters, for example:

# requires Windows 8.1/Server 2012 R2 or better

# general info

# managing adapters
Get-NetAdapter -Name *Wifi*
Get-NetAdapter | Select-Object Name, Status, Linkspeed, VlanID
Get-NetAdapter | Select-Object Name, Driver*
Disable-NetAdapter -Name 'Wi-Fi' -WhatIf
Enable-NetAdapter -Name 'Wi-Fi' -WhatIf
Rename-NetAdapter -Name 'Wi-Fi' -NewName 'WirelessNetwork' -WhatIf

A great networking cheat sheet can be found here:

Twitter This Tip! ReTweet this Tip!