IT-Dienstleistungen

Get-NetAdapter

All posts

Windows

Basic network adapter manipulation using PowerShell

# in PowerShell
Get-NetAdapter
Disable-NetAdapter -Name "Ethernet" -Confirm:$false
Enable-NetAdapter -Name "Ethernet" -Confirm:$false
Restart-NetAdapter -Name "Ethernet"