Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 809 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 809 Bytes

Get-WiFiPasswords

PowerShell script for getting stored Wi-Fi passwords from netsh on a domain joined endpoint. You must be able to reach endpoint via PS Remoting to use this script.

Usage:

.\getwifipasswords.ps1 -devices <computername> 

Example:

> .\getwifipasswords.ps1 -devices CORP001 -verbose
VERBOSE: Elevated? True
VERBOSE: Devices list? CORP001
GetWiFiPasswords.ps1 started at 07/22/2020 19:07:42
___________________________________________________________
computer: CORP001; user: @{username=domain\fake}

profile     authentication  securitykey password
-------     --------------  ----------- --------
corp        WPA2-Enterprise Absent
home WIFI   WPA2-Personal   Present     Awesome2016


....................................................

Notes

Use at your own risk.