{"id":342,"date":"2025-01-08T10:04:54","date_gmt":"2025-01-08T17:04:54","guid":{"rendered":"https:\/\/blog.d5.ca\/?p=342"},"modified":"2026-01-12T15:52:00","modified_gmt":"2026-01-12T22:52:00","slug":"display-wi-fi-keys-in-windows-command-line-or-powershell","status":"publish","type":"post","link":"https:\/\/blog.d5.ca\/?p=342","title":{"rendered":"Display Wi-Fi Keys in Windows Command Line or PowerShell"},"content":{"rendered":"<p>To retrieve a saved Wi-Fi key from the command line:<\/p>\n<pre>; List Profiles\r\nnetsh wlan show profiles\r\n\r\n; Get key for profile\r\nnetsh wlan show profiles &lt;SID Name&gt; key=clear<\/pre>\n<h3>References:<\/h3>\n<ul>\n<li><a href=\"https:\/\/community.spiceworks.com\/t\/how-to-extract-wireless-network-info-from-registry-with-passwords\/966143\/11\" target=\"_blank\" rel=\"noopener\">https:\/\/community.spiceworks.com\/t\/how-to-extract-wireless-network-info-from-registry-with-passwords\/966143\/11<\/a><\/li>\n<li><a href=\"https:\/\/lazyadmin.nl\/it\/netsh-wlan-commands\/#view-wireless-network-password\" target=\"_blank\" rel=\"noopener\">https:\/\/lazyadmin.nl\/it\/netsh-wlan-commands\/#view-wireless-network-password<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To retrieve a saved Wi-Fi key from the command line: ; List Profiles netsh wlan show profiles ; Get key for profile netsh wlan show profiles &lt;SID Name&gt; key=clear References: https:\/\/community.spiceworks.com\/t\/how-to-extract-wireless-network-info-from-registry-with-passwords\/966143\/11 https:\/\/lazyadmin.nl\/it\/netsh-wlan-commands\/#view-wireless-network-password<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[25],"tags":[55,43,54,37],"class_list":["post-342","post","type-post","status-publish","format-standard","hentry","category-reference","tag-command-line","tag-networking","tag-wi-fi","tag-windows"],"_links":{"self":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=342"}],"version-history":[{"count":3,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.d5.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}