PowerTip: Use PowerShell to Disable Network Adapter

Doctor Scripto

Dr Scripto

Summary: Use Windows PowerShell to disable a network adapter.

Hey, Scripting Guy! Question How can I use Windows PowerShell to disable a network adapter on my Windows 8.1 laptop named Wireless?

Hey, Scripting Guy! Answer Use the Disable-NetAdapter cmdlet and provide the name of Wireless to the command:

Disable-NetAdapter –name wireless

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment