@Echo Off
echo -------------------------------------------------------------
echo To get your current Wi-Fi configuration using the Command Prompt,
echo open CMD as an administrator and type ipconfig /all to view your
echo IP address and other network settings, or use netsh wlan show interfaces
echo for wireless-specific details like your connection status and SSID.
echo:
echo For saved Wi-Fi network information, use netsh wlan show profile name="Wi-FiName"
echo key=clear, replacing "Wi-FiName" with the name of your saved network to reveal its
echo password.
pause
echo:
echo ---------------------------------------------------------------
echo: 1.View your current network and IP configuration
echo:
echo Open Command Prompt and Run as administrator
echo:
echo Run ipconfig /all
echo:
echo Find your Wi-Fi details:
echo Look for your wireless adapter (e.g., "Wireless LAN adapter echo Wi-Fi") in
echo the output to see your IPv4 Address, Default Gateway, and other
echo relevant information.
pause
ipconfig /all
pause
echo ---------------------------------------------------------------
echo: 2. View your current Wi-Fi interface details
echo:
echo Open Command Prompt and Run as administrator
echo:
echo Run netsh wlan show interfaces:
echo Type netsh wlan show interfaces and press Enter.
echo:
echo Check the output:
echo This command provides details about your Wi-Fi adapter, including the
echo currently connected SSID (Wi-Fi name), the physical address,
echo and the connection state.
pause
netsh wlan show interfaces
pause
echo ----------------------------------------------------------------
echo: 3. View a saved Wi-Fi network's profile and password
echo:
echo Open Command Prompt as administrator.
echo:
echo Find your Wi-Fi profile name:
echo First, run netsh wlan show profiles to get a list of all saved Wi-Fi
echo networks.
echo:
echo Show the profile with the key:
echo Then, type netsh wlan show profile name="Wi-FiName" key=clear,
echo replacing "Wi-FiName" with the actual name of the Wi-Fi network you
echo want to inspect.
echo:
echo Locate the password:
echo In the output, find the "Key Content" field to see the password for that
echo saved network.
rem netsh wlan show profile name="Wi-FiName" key=clear
pause
echo -----------------------------------------------------------------
echo 4. Generate a wireless network report
echo:
echo Open Command Prompt as administrator.
echo:
echo Run netsh wlan wlanreport:
echo Type netsh wlan show wlanreport and press Enter.
echo:
echo Open the report:
echo This command creates an HTML file with detailed information about
echo your Wi-Fi events from the last three days. The file location will be
echo provided in the command output. You can open this file in a web browser
echo to analyze your wireless network history.
pause
netsh wlan show wlanreport
echo ----------------------------------------------------------------
pause
start C:\ProgramData\Microsoft\Windows\WlanReport
exit