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-ImageQRCodeCalendar

Namespace ImagePlayground
Inputs
System.String

Creates a calendar event QR code image.

Remarks

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

Examples

Authored help example

Create a timed meeting QR code

PS>


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

PS>


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.

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

Parameters

AllDayEvent SwitchParameter optionalposition: namedpipeline: False
Specifies whether the event spans the full day.
BackgroundColor Color optionalposition: namedpipeline: False
Background color of the QR code.
Entry String requiredposition: 0pipeline: False
Event title.
EventEncoding QrCalendarEncoding optionalposition: namedpipeline: Falsevalues: 2
Calendar encoding.
Possible values: Universal, ICalComplete
FilePath String requiredposition: 5pipeline: True (ByValue)
The image format is inferred from the file extension.
ForegroundColor Color optionalposition: namedpipeline: False
Foreground color of QR modules.
From DateTime requiredposition: 3pipeline: False
Start date.
Location String optionalposition: 2pipeline: False
Event location.
Message String optionalposition: 1pipeline: False
Event description.
PixelSize Int32 optionalposition: namedpipeline: False
Pixel size for each QR module.
Show SwitchParameter optionalposition: namedpipeline: False
Open the image after creation.
To DateTime requiredposition: 4pipeline: False
End date.