Posted On October 13, 2019

PowerShell: 1-liner to obtain SSID and Password of Wireless Profiles on a Windows Machine

kimconnect 0 comments
blog.KimConnect.com >> Windows >> PowerShell: 1-liner to obtain SSID and Password of Wireless Profiles on a Windows Machine
$profileName='Frontier0000'
netsh wlan show profile "name=$profileName" key=clear|select-string "Key Content"

# Sample output
Key Content : somepassword
PS C:\Windows\system32> netsh.exe wlan show profiles name=* key=clear | select-string -Pattern "(SSID Name|Key Content)"

SSID name : "CiscoGear"
Key Content : The-Password-Is-Password
SSID name : "Wireless"
Key Content : What-Password?

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Resolving CRM Error Upon Login

Symptom: Error Message when trying to login to CRM [caption id="attachment_7481" align="alignnone" width="237"] INVALID ACTION[/caption]…

Memo of an Advisory Regarding WinRM on a Non-Domain Joined Server

# Enable WinRM winrm quickconfig <# Sample output PS C:\Users\Administrator> winrm quickconfig WinRM service is…

PC / Laptop Setup Steps

Baseline Machine1. Hard drive partitionsa. Operating System shall be installed on C:\WINDOWSb. Applications shall be…