wifi_passwords_show.ps1 - limehawk/rmm-scripts GitHub Wiki
wifi_passwords_show.ps1
Retrieves and displays all saved Wi-Fi network profiles and their passwords stored on the Windows system.
Overview
This script is useful for recovering forgotten passwords or auditing saved wireless credentials by retrieving all saved Wi-Fi network profiles and their passwords from the Windows credential store.
Purpose
Retrieves and displays all saved Wi-Fi network profiles and their passwords stored on the Windows system. Useful for recovering forgotten passwords or auditing saved wireless credentials.
Prerequisites
- Windows 10/11 or Windows Server
- Administrator privileges (for key retrieval)
- Wireless adapter present (or previously present)
Configuration
Required Inputs
None
Behavior
- Queries all saved wireless network profiles
- Retrieves the password (key content) for each profile
- Displays results in a formatted table
Security Notes
- This script displays sensitive credential information
- Run only on systems you are authorized to audit
- Passwords are retrieved from Windows credential store
Exit Codes
- 0 = Success
- 1 = Failure
Example Output
[ RETRIEVING WI-FI PROFILES ]
--------------------------------------------------------------
SSID_NAME WIFI_PASSWORD
--------- -------------
HomeNetwork MySecurePass123
OfficeWiFi Corp0r@teKey!
GuestNetwork guest2024
[ FINAL STATUS ]
--------------------------------------------------------------
Result : 3 network(s) found
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
Version History
- 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps
Links
- View Script Source
- Scripts - Back to script index