WiFi-Profile-Exporter is a PowerShell script designed to extract and export wireless network profiles along with their associated passwords and network adapter information on Windows systems. This tool is invaluable for network administrators, cybersecurity professionals, and users who need to manage and audit wireless network configurations efficiently.
-
Comprehensive Data Extraction: WiFi-Profile-Exporter extracts all user wireless profiles and their associated security keys, providing a complete overview of the wireless networks configured on a device.
-
Multi-Format Export: The script exports the collected data into structured CSV files, making it easy to analyze and share wireless network information.
-
User-Friendly Interface: Designed for ease of use, the script outputs relevant information directly to the console, allowing users to quickly verify configurations before exporting.
-
Network Adapter Insights: In addition to wireless profiles, the script gathers detailed information about network adapters, including MAC addresses and IP configurations, offering a holistic view of the network setup.
- Wireless Network Profile Export: Extracts SSID and passwords for all configured wireless networks and saves them in a CSV file.
- Network Adapter Information: Collects details about all network adapters, including their MAC addresses and IP addresses.
- CSV File Generation: Creates separate CSV files for wireless profiles (
WiFiProfiles.csv
) and network adapter information (NetworkAdapters.csv
).
To use WiFi-Profile-Exporter, a Windows operating system with PowerShell is required. No additional dependencies are needed.
- Download the script
WiFi-Profile-Exporter.ps1
. - Open PowerShell with administrative privileges.
- Navigate to the location of the script.
- Execute the script with the following command:
.\WiFi-Profile-Exporter.ps1
- Windows 10 or later versions.
- Appropriate permissions to access wireless network profiles and network adapter configurations.
Upon execution, the script performs the following actions:
- Extracts all wireless network profiles and their associated passwords.
- Outputs the SSID of each profile to the console for quick verification.
- Exports the collected data into
WiFiProfiles.csv
andNetworkAdapters.csv
files, which can be found in the same directory where the script is executed.
No additional configurations are required; however, users may modify the output file names if desired within the script.
The script employs the following processes:
- Profile Extraction: Utilizes the
netsh
command to fetch all wireless profiles and their details, including SSID and security key. - Adapter Information: Gathers network adapter information using the
Get-NetAdapter
andGet-NetIPAddress
cmdlets, compiling relevant details into structured objects. - Data Export: Exports the gathered information into two separate CSV files, ensuring clear organization of the data.
This script is provided under the GNU Affero General Public License v3.0. You can find the full license text in the LICENSE file.