API Reference
Command
New-ImageQRCodeWiFi
Creates a WiFi QR code image.
Remarks
The generated QR code uses a WiFi payload that can be scanned by mobile devices to prefill network settings.
Examples
Create WiFi QR
PS>
New-ImageQRCodeWiFi -SSID Test -Password pass123 -FilePath wifi.png
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
New-ImageQRCodeWiFi [-BackgroundColor <Color>] -FilePath <String> [-ForegroundColor <Color>] -Password <String> [-PixelSize <Int32>] [-Show] -SSID <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- BackgroundColor Color
- Background color of the QR code.
- FilePath String
- The image format is inferred from the file extension.
- ForegroundColor Color
- Foreground color of QR modules.
- Password String
- WiFi password.
- PixelSize Int32
- Pixel size for each QR module.
- Show SwitchParameter
- Open the image after creation.
- SSID String
- WiFi network name.