Project

ImagePlayground

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

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

New-ImageQRCodeCalendar

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>]
#
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

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

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.