Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 100
Forks 7
Total downloads 712,347
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25

API Reference

Command

New-ImageQRCodeSms

Namespace ImagePlayground
Inputs
System.String

Generates a QR code containing an SMS message.

Remarks

Use this cmdlet when a scan should open the SMS app with recipient and optional message body prefilled.

Examples

Authored help example

Create a basic SMS QR code

PS>


New-ImageQRCodeSms -Number '+123456789' -Message 'Hello' -FilePath sms.png
        

Creates a QR code that opens the SMS app with the recipient number and message body prefilled.

Create an RSVP SMS QR code

PS>


New-ImageQRCodeSms -Number '+48 500 600 700' -Message 'RSVP: I will attend' -FilePath rsvp-sms.png -ForegroundColor Teal -PixelSize 16 -Show
        

Generates a ready-to-send RSVP QR code for invitations or registration desks.

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-ImageQRCodeSms [-BackgroundColor <Color>] -FilePath <String> [-ForegroundColor <Color>] [-Message <String>] -Number <String> [-PixelSize <Int32>] [-Show] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
FilePath String requiredposition: 2pipeline: True (ByValue)
The image format is inferred from the file extension.
ForegroundColor Color optionalposition: namedpipeline: False
Foreground color of QR modules.
Message String optionalposition: 1pipeline: False
Text message.
Number String requiredposition: 0pipeline: False
Recipient phone number.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Show SwitchParameter optionalposition: namedpipeline: False
Open the image after creation.