Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Deactivate, activate, list network adapters via command prompt!


Deactivating, activating and listing the network adapters via command prompt or Powershell is quite easy to do under Windows 11, 10, ... and MS Server!




Everyone knows the simple standard procedure to ►►  deactivate and activate network adapters under Windows. Does something goes through the command lines in PowerShell or the command prompt,
that is the question. Clearly via netsh interface commands, it is much too easy on Windows 11, 10, ... etc.!


1.) ... The listing of the network adapters under Windows via NETSH!
2.) ... Deactivating and activating the network adapter! 
3.) ... What to watch out for when deactivating the network adapter!




1.) The listing of the network adapters under Windows via NETSH!

1. Start PowerShell as always or command prompt

2. To list the network adapters, use the command: netsh interface show interface

3. Optional: Get-NetAdapter | format-list  << PowerShell only
to get more information about the adapters! 

(... see Image-1 Point 1 to 4)


PS:
Netsh works via PowerShell and Command Prompt, but Copy Paste is easier with PowerShell. It can prove to be advantageous, especially with longer network adapter names!


(Image-1) List network adapters via NETSH!
List network adapters via NETSH!

-
▲ Back to the top ▲




2.) Deactivating and activating the network adapter! 

1. Start PowerShell or Command Prompt
(for this in administrative mode Ctrl + Shift + Enter , since admin rights are required) 

2. As described above ► list network adapters

3. Deactivate the network adapter,
here in the example the WLAN: netsh interface set interface "Wi-Fi 4" disable

4.  netsh interface show interface  <<< list  

5. activate the network adapter again:  netsh interface set interface "Wi-Fi 4" enable  

6. And list and check netsh interface show interface again

(... see Image-2 Point 1 to 6)


(Image-2) Deactivate and activate network adapter via command prompt!
Deactivate and activate network adapter via command prompt!

-
▲ Back to the top ▲



3.) What to watch out for when deactivating the network adapter!

It is of course easier to do this via the Windows device manager, but if you are creating a script or a batch file, for example, it can be helpful in automating and doing quick one-click tasks, as described above with command lines! 

Windows + R and devmgmt.msc  (... see Image-3 Point 1 to 5)



(Image-3) Deactivate, activate and list network adapters in the Device Manager!
Deactivate, activate and list network adapters in the Device Manager!

-
▲ Back to the top ▲






FAQ 122: Updated on: 5 November 2021 20:14 Windows
Windows-Console

Hard drive speed with command prompt or PowerShell!


You can simply test the hard drive speed with a command prompt or PowerShell under Windows 11, 10, or MS Server 2022, 2019, etc. There are many
Windows-Console

Map network drives via the command prompt under Windows!


Connecting or disconnecting network drives via the command prompt under Windows 11, 10, or MS Server without mouse clicks is a very practical option
Windows-Console

Optimize drives about the command prompt on MS Windows OS!


Yes, and its easy to optimize drives on Windows 11, 10, from the command prompt using the defrag command Everyone probably knows the drive optimization
Windows-Console

Export a list of running processes as a text file with cmd.exe!


Its easy to export a list of running processes as a text file using the command prompts cmd.exe on Windows 11, 10, etc 1. exporting the running
Windows-Console

Generate file hash via command prompt!


Sometimes you need the SHA value of a file, in the command prompt you can create a file hash under Windows 11, 10, Hash algorithms: MD2 MD4 MD5 SHA1
Windows-Console

Adjust lock screen duration from command prompt!


Adjust lock screen duration from command prompt is a little-known option on Windows 11, 10, and MS Server OS   Content: 1. The lock screen display
Windows-Console

Directly open command prompt in each folder!


Here is the solution to open the command prompt directly in each folder without much effort on all Windows 11, 10, and MS Server operating systems  

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, console, deactivate, activate, list, network, adapters, command, prompt, listing, powershell, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + TheAeroClock
  + CoronaKO
  + MatriX.CoronaKO
  + Find.Same.Images.OK
  + 3D.Benchmark.OK
  + PhotoResizerOK
  + Office.Files.Images
  + Film.Strip.Explorer
  + WinScan2PDF
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.061


► Help I have too many smartphone pictures, what should I do? ◄

► Right Practically the short benchmark the Fastest test for SSD, HD, USB, ...! ◄

► I can't upgrade to Windows 11, what now? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....