If you use QR codes instead of passwords, you increase the user experience. Did you know that you can create such a QR code with PowerShell without any 3rd party tools? No? Then go ahead.
Installing QRCodeGenarator Module
First we need to install a module. Make sure that your computer has a connection to the internet.
Open PowerShell and install the module.
Install-Module -Name QRCodeGenerator -RequiredVersion 2.4.1

Next, hit the keys to retrieve all commands of this powerful module.
Get-Command -Module QRCodeGenerator

To create a QR code for WIFI we need the New-QRCodeWifiAccess cmdlet.
Let’s move on.
Creating a QR Code for a Wifi Network
You need to provide 3 values: SSID, Wifi-Password and storage location of the QR Code file.
$SSID = "MyWlan"
$WiFipassword = "password"
$FilePath = "$home\desktop\wifi.png"
New-QRCodeWifiAccess -SSID $SSID -Password $WiFipassword -Width 10 -OutPath $FilePath

Voila! Here is the QR Code for MyWlan.

Credits
Credits goes to Tobias Weltner, who published this module in the PowerShell Gallery. I met him in person a few years ago in Vienna. I told him that his books were a great help for me when starting with PowerShell. I highly recommend his german books on PowerShell.
PowerShell Gallery Link: https://www.powershellgallery.com/packages/QRCodeGenerator/2.4.1
Tobias Weltner Amazon Books: https://www.amazon.de/s?k=tobias+weltner&__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=3SC65HGI24K84&sprefix=tobias+weltner%2Caps%2C102&ref=nb_sb_noss_1
Categories: PowerShell
I read it out of interest, and I don’t regret it. The topic “PowerShell QR Code Generator for WIFI Networks” is currently topical for me, and that’s why I thank you for this informative article about it.
LikeLiked by 1 person
Thank you!
LikeLike
Das ist richtig cool…!! 🙂
Merci für’s Teilen; das werde ich sogleich umsetzen…!!
Love IT…!
LikeLike
Danke !
LikeLike