{"id":55,"date":"2020-01-02T23:07:07","date_gmt":"2020-01-02T23:07:07","guid":{"rendered":"http:\/\/mackenziewifi.com\/?p=55"},"modified":"2025-05-30T08:48:26","modified_gmt":"2025-05-30T08:48:26","slug":"windows-wlan-monitor-script","status":"publish","type":"post","link":"http:\/\/mackenziewifi.com\/index.php\/2020\/01\/02\/windows-wlan-monitor-script\/","title":{"rendered":"A Windows WLAN Monitor Script"},"content":{"rendered":"\n<p>In\nNov I sat Keith Parsons\u2019s excellent ECSE Troubleshooting class. If you have not\nalready taken this class I would highly recommend it along with the ESCE Design\nand ECSE Advance classes. During this class Keith was once again singing the\npraises of Adrian Granados\u2019 WLAN tools for MAC, in particular, on this class\nthe WiFi Signal tool. While giving praise and kudos to an awesome tool, Keith\nalso lamented those of us who are poor Windows users who don\u2019t have such a\ngreat tool and can\u2019t easily access information about our current WLAN\nconnection. In defence of the \u201cpoor Windows users\u201d I tried to point out that we\ndo have the \u2018netsh wlan show interface\u2019 command and you could script something\nsimilar. However, I realised that this was a weak argument because I didn\u2019t\npossess a script to do this. So I decided write one. <\/p>\n\n\n\n<p>Nigel\nBowden had written a script to write WLAN netsh information to a file:<\/p>\n\n\n\n<p><a href=\"http:\/\/wifinigel.blogspot.com\/2016\/09\/getting-data-out-of-windows-netsh-wlan.html\">http:\/\/wifinigel.blogspot.com\/2016\/09\/getting-data-out-of-windows-netsh-wlan.html<\/a><\/p>\n\n\n\n<p>So I\nused Nigel\u2019s script as a starting point and added a windows GUI and a few other\nbits and finally arrived at my PowerShell NetSh WLAN Monitor Script <\/p>\n\n\n\n<p>This\nscript provides the following features and functionality<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A\nWindows GUI to continually monitor the output from the \u2018netsh wlan show\ninterface\u2019 command<\/li><li>Configurable\nsignal strength and data rate thresholds allow the users to control the levels\nat which the current signal strength and data rates will be disabled in green\nor red text.<\/li><li>An\noptional log &#8211; When logging is enabled, the output from each instance of the\n\u2018netsh wlan show interface\u2019 command will be written to a comma separated csv\nfile in ASCII format so it can be easily opened by tools such as Excel.<\/li><li>A\nroaming log showing each roam.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"658\" height=\"828\" src=\"http:\/\/mackenziewifi.com\/wp-content\/uploads\/2020\/01\/Netsh-WLANMon.jpg\" alt=\"\" class=\"wp-image-56\" srcset=\"http:\/\/mackenziewifi.com\/wp-content\/uploads\/2020\/01\/Netsh-WLANMon.jpg 658w, http:\/\/mackenziewifi.com\/wp-content\/uploads\/2020\/01\/Netsh-WLANMon-238x300.jpg 238w\" sizes=\"auto, (max-width: 658px) 100vw, 658px\" \/><\/figure>\n\n\n\n<p>By\ndefault Windows restricts the execution of Powershell scripts, so you will need\nto update the execution policy on your machine. To do this open a Powershell\nwindow and temporarily set the policy to unrestricted with this command:<\/p>\n\n\n\n<p>Set-ExecutionPolicy\nUnrestricted -scope Process<\/p>\n\n\n\n<p>Please\nnote the first version of the script is still beta, so let me know about any\nbugs. But also let me know if you like it, should I continued to develop it? Some\nof the things I hope to add soon:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>MAC\nOUI lookup<\/li><li>AP\nname lookup<\/li><li>Other\nWLAN metrics, such as MCS<\/li><li>Log\nconfiguration <\/li><\/ul>\n\n\n\n<p>While\nthis script is no comparison to a professional tool such as Adrian\u2019s WiFi\nSignal, I hope many of you will still find it useful. The script can be\ndownload here:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/mackenziewifi\/netsh-wlanmon\">https:\/\/github.com\/mackenziewifi\/netsh-wlanmon<\/a><\/p>\n\n\n\n<p>I hope you have fun with it, let me know your comments.<\/p>\n\n\n\n<p><strong>Note:<\/strong> This scripts only works for English windows systems and doesn&#8217;t work for other languages. I will look at updating this for other  languages soon. Thanks Helge Magnus Keck for pointing this out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Nov I sat Keith Parsons\u2019s excellent ECSE Troubleshooting class. If you have not already taken this class I would highly recommend it along with the ESCE Design and ECSE Advance classes. During this class Keith was once again singing the praises of Adrian Granados\u2019 WLAN tools for MAC, in particular, on this class theContinue reading &rarr;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-uncategorized","no-thumb"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":5,"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":77,"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/posts\/55\/revisions\/77"}],"wp:attachment":[{"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mackenziewifi.com\/index.php\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}