PowerShell 3.0 has several built-in NetAdapter cmdlets / functions. Is it possible to connect / disconnect a wireless adapter using this new noun? For example:
Enable-NetAdapter
or
Set-NetAdapter
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should be able to. I successfully disabled my wired adapter with the following command.
And then I successfully enabled it using:
I would imagine as long as the Get-NetAdapter cmdlet returns your wireless adapter you will be able to use the Enable\Disable cmdlets.