HOW TO Microsoft Tips & Tricks Windows 10 Windows 7 Windows 8 / 8.1 Windows Vista Windows XP

What’s the password of the WiFi I’m connected to?

This post can be applied only to the Microsoft Windows operating systems.

You are connected to a WiFi using your pc with Windows, and you need to know what is the password used to connect into the network

I know two methods to achieve this goal.

Method 1:

  • Right-click in the taskbar in the WiFi icon (marked in red in the image)
  • Click on Open Network & Internet settings
  • Click on the menu Wi-Fi
  • Click on Change adapter options
  • Right-click on your Wi-Fi adapter
  • Click on Status
  • Click the button Wireless Properties
  • Navigate to the Security tab
  • then tick Show characters checkbox to show the WiFi password in the Network security key field.

Method 2:
Open the Command Prompt or Windows PowerShell and run the following command replacing “WiFiName” with the name of the WiFi network you are connected to

netsh wlan show profile name="WiFiName" key=clear | findstr Key

The Key Content will display the WiFi password in the command prompt as a result.

Note: “WiFiName” is not case sensitive but if you don’t write correctly your WiFiName no error and no result will be displayed.

Do you think that my Tip & Trick is useful? Leave a reply.

HOW TO Microsoft PowerShell

HOW TO uninstall older versions of a PowerShell module installed

When using Windows PowerShell ISE it’s possible to import a PowerShell module, open the Command tool panel (from the menu Add-ons -> Command) and clicking Refresh, then have a list of the commands available.

It’s annoying that sometimes the same command appears multiple times, as the result of an installed PowerShell module that you updated.

Today’s example is from NavContainerHelper PowerShell module, searching in my pc for one of its commands I had multiple entries for the same command, as shown in the following picture:

Run Windows PowerShell ISE as Administrator.
Copy and paste the following PowerShell script that retrieves the latest version of the desired module and then recursively uninstalls the previous versions installed.
Interesting to note, you can use the -WhatIf parameter at the end to simulate and preview the changes without doing them (remember to remove -WhatIf parameter when you want to apply the changes and to set the $ModuleName to the desired PowerShell module).

$ModuleName = 'navcontainerhelper';
$Latest = Get-InstalledModule $ModuleName; 
Get-InstalledModule $ModuleName -AllVersions | ? {$_.Version -ne $Latest.Version} | Uninstall-Module -WhatIf

To see the command list updated you need to restart Windows PowerShell ISE.

Did my HOW TO help you? Leave a reply.