连接到无线网络 [英] Connect to wireless network

查看:59
本文介绍了连接到无线网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了几个 PowerShell 脚本,用于配置培训课程中使用的计算机.某些课程需要连接到不同的无线网络 (SSID).我只能指导用户如何使用 Windows XP 设施来更改他们连接的网络,但我希望能够将网络选择滚动到我的 PowerShell 脚本中知道如何在 PowerShell 中更改无线网络吗?

I have created a couple of PowerShell scripts which configure computers used in a training class. Some classes need to connect to a different wireless network (SSID). I can just instruct users how to use the windows XP facilitites to change the network they are connected to but I would like to be able to roll the network selection in to my PowerShell script Any idea on how to change wireless network in PowerShell?

推荐答案

您可能会发现这个项目很有趣.它只是原生 API 上的一个 .NET 包装器.您应该可以轻松地从 PowerShell 调用它:

You might find this project interesting. It is just a .NET wrapper on the native API. You should be able to call this from PowerShell without too much trouble:

http://managedwifi.codeplex.com/

这篇关于连接到无线网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆