# New-ImageQRCodeSms

Generates a QR code containing an SMS message. Review available syntax, parameters, pipeline guidance, and reference details in ImagePlayground API Reference.

Project

ImagePlayground

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

[View on GitHub](https://github.com/EvotecIT/ImagePlayground) [Visit Website](#) [Releases](https://github.com/EvotecIT/ImagePlayground/releases) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/ImagePlayground)

Stars **102**

Forks **7**

Open issues 

Total downloads **708,853**

Release **ImagePlayground-PowerShellModule.v3.2.7**

Language: C# Updated: 2026-11-18

Command 

**Module**

`ImagePlayground`

**Inputs**

`System.String`

Generates a QR code containing an SMS message.

## Syntax

```
New-ImageQRCodeSms
[-BackgroundColor <Color>]
[-FilePath] <String>
[-ForegroundColor <Color>]
[[-Message] <String>]
[-Number] <String>
[-PixelSize <Int32>]
[-Show]
[<CommonParameters>]
```

[#](#method-new-imageqrcodesms-color-string-color-string-string-int32-switchparameter)

Parameter set: `All Parameter Sets`

## Description

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

## Examples

### Create a basic SMS QR code

```powershell
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

```powershell
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.

## Parameters

**-BackgroundColor Color optional**

Background color of the QR code.

**-FilePath String requiredposition: 2pipeline: True (ByValue)**

The image format is inferred from the file extension.

**-ForegroundColor Color optional**

Foreground color of QR modules.

**-Message String optionalposition: 1**

Text message.

**-Number String requiredposition: 0**

Recipient phone number.

**-PixelSize Int32 optional**

Pixel size for each QR module.

**-Show SwitchParameter optional**

Open the image after creation.

## 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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:56051172EEA41C279A17EB5BBA741121B9B27022FA857DAC97EB3D73973D37DA -->
