GithubHelp home page GithubHelp logo

wificonnchecker's Introduction

wifiConnChecker

PowerShell script used to check and log Wi-Fi connection information.

Author: Brett Verney Version: v0.1 | 28-06-2023

Introduction

This is a PowerShell script that retrieves and logs wireless connection information at regular intervals. It retrieves information including the SSID, BSSID, channel, frequency, and signal strength every second. If the network is not yet identified or if there is no current connection, this is also logged. The results are written to a log file located in the directory from which the script was run.

Use Cases

The Wifi Connection Checker script is a versatile tool with several practical use cases. It's particularly useful in environments where you have multiple access points and want to monitor which one a client roams to and at what time. By logging the BSSID, you can pinpoint exactly when and to which access point a client connects.

The script is also a valuable tool for studying your wireless environment and gaining insight into the frequency bands and channels used over time. With its ability to log the frequency and channel, you can observe trends, identify overcrowded channels, or spot any unusual activity. Furthermore, the signal strength logging can help you understand the coverage areas of your wireless setup and identify any potential weak spots.

Whether you're a network administrator seeking to optimize your wireless network or a curious user looking to understand your wireless environment better, this script can provide valuable insights.

Prerequisites

  • Microsoft Windows
  • PowerShell
  • Administrative rights to PowerShell

Usage

  1. Open PowerShell with administrative rights.

  2. Navigate to the directory containing WifiConnCheck.ps1.

  3. Run the script:

    .\WifiConnCheck.ps1

Note: If you see an error message like "File cannot be loaded because the execution of scripts is disabled on this system", you need to enable PowerShell script execution by running wither of the following commands in an elevated PowerShell session:

Bypass the default execution policy for the current user:
Set-ExecutionPolicy Bypass -Scope CurrentUser -Force

Bypass the execution policy for the current PowerShell session only:
Set-ExecutionPolicy Bypass -Scope Process -Force

This will allow scripts to be executed on your computer.

Example

The script should output something similar to the image below:

wifiConnChecker Example

Disclaimer

Although this script has been thoroughly tested, I am not responsible for any disruptions, problems, data loss, or other negative effects that might arise from its use. Please use it responsibly and ensure you understand its operation before running it in a critical environment.

wificonnchecker's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mynaitlabs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.