# New-ImageQRCodeCalendar

Creates a calendar event QR code image. 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`

Creates a calendar event QR code image.

## Syntax

```
New-ImageQRCodeCalendar
[-AllDayEvent]
[-BackgroundColor <Color>]
[-Entry] <String>
[-EventEncoding <Universal|ICalComplete>]
[-FilePath] <String>
[-ForegroundColor <Color>]
[-From] <DateTime>
[[-Location] <String>]
[[-Message] <String>]
[-PixelSize <Int32>]
[-Show]
[-To] <DateTime>
[<CommonParameters>]
```

[#](#method-new-imageqrcodecalendar-switchparameter-color-string-qrcalendarencoding-string-color-datetime-string-string-int32-switchparameter-datetime)

Parameter set: `All Parameter Sets`

## Description

Use this cmdlet to encode meeting or appointment details into a QR code that can be scanned into calendar applications.

## Examples

### Create a timed meeting QR code

```powershell
New-ImageQRCodeCalendar -Entry 'Project Sync' -Message 'Weekly delivery review' -Location 'Office' -From (Get-Date) -To (Get-Date).AddHours(1) -FilePath qr.png
```

Creates a QR code for a calendar event with explicit start and end times.

### Create an all-day calendar event QR code

```powershell
New-ImageQRCodeCalendar -Entry 'Company Offsite' -Location 'Gdansk' -From (Get-Date).Date -To (Get-Date).Date.AddDays(1) -AllDayEvent -EventEncoding ICalComplete -FilePath offsite.png -Show
```

Generates an all-day event payload and opens the QR image after creation.

## Parameters

**-AllDayEvent SwitchParameter optional**

Specifies whether the event spans the full day.

**-BackgroundColor Color optional**

Background color of the QR code.

**-Entry String requiredposition: 0**

Event title.

**-EventEncoding QrCalendarEncoding optional**

Calendar encoding.

Possible values: `Universal`, `ICalComplete`

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

The image format is inferred from the file extension.

**-ForegroundColor Color optional**

Foreground color of QR modules.

**-From DateTime requiredposition: 3**

Start date.

**-Location String optionalposition: 2**

Event location.

**-Message String optionalposition: 1**

Event description.

**-PixelSize Int32 optional**

Pixel size for each QR module.

**-Show SwitchParameter optional**

Open the image after creation.

**-To DateTime requiredposition: 4**

End date.

## 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:255767983B96A7BA2D6EF91B12117E2AC138C23E48B1F9995C24EC1A60AA4F92 -->
