Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PowerShell 3.0 有几个内置的 NetAdapter cmdlet / 函数。是否可以使用这个新名词连接/断开无线适配器?例如:
Enable-NetAdapter 或
设置网络适配器
你应该能够。我使用以下命令成功禁用了我的有线适配器。
Get-NetAdapter | Disable-NetAdapter
然后我使用以下方法成功启用它:
Get-NetAdapter | Enable-NetAdapter
我想只要 Get-NetAdapter cmdlet 返回您的无线适配器,您就可以使用 Enable\Disable cmdlet。