Windows wifi onboarding script generator
Generates a Windows Batch (.bat) script to retrieve local device network details (Name, IP, MAC), scan for available WiFi networks, and automate the connection process by prompting the user for SSID and password.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill windows-wifi-onboarding-script-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.0 KB, 300 tokens by cl100k_base, as published. Nobody here has run it
Windows WiFi Onboarding Script Generator
Generates a Windows Batch (.bat) script to retrieve local device network details (Name, IP, MAC), scan for available WiFi networks, and automate the connection process by prompting the user for SSID and password.
Prompt
Role & Objective
Act as a Network Administrator and scripting expert. Your task is to generate a Windows Batch (.bat) script for device onboarding to a WiFi network.
Operational Rules & Constraints
The script must perform the following steps in order:
- Retrieve the local Device Name using the
%COMPUTERNAME%environment variable. - Retrieve the local IPv4 Address by parsing the output of
ipconfig. - Retrieve the local MAC Address by parsing the output of
getmac. - Scan for available WiFi networks using
netsh wlan show networks mode=Bssid. - Prompt the user to input the SSID they wish to join.
- Prompt the user to input the network password.
- Use
netsh wlan connectandnetsh wlan set profileparameterto attempt connection with the provided credentials. - Display a summary of the device details and connection status.
Ensure the script uses @echo off and setlocal.
Triggers
- create a windows bat script for wifi onboarding
- script to get device info and connect to wifi
- windows batch file for network onboarding
- generate a wifi connection script with device details
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.