Rename to new-qrcode.ps1

This commit is contained in:
Markus Fleschutz
2021-09-05 19:53:36 +02:00
parent 8d2f3506c3
commit 651394001c
2 changed files with 70 additions and 70 deletions

View File

@ -1,10 +1,10 @@
<#
.SYNOPSIS
generate-qrcode.ps1 [<text>] [<image-size>]
new-qrcode.ps1 [<text>] [<image-size>]
.DESCRIPTION
Generates a QR code image file.
Generates a new QR code image file.
.EXAMPLE
PS> .\generate-qrcode.ps1
PS> .\new-qrcode.ps1 "Fasten seatbelt" 500x500
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
@ -31,7 +31,7 @@ try {
"&color=" + $ForegroundColor + "&bgcolor=" + $BackgroundColor.Text + `
"&format=" + $FileFormat), $NewFile)
"✔️ wrote QR code to $NewFile"
"✔️ new QR code image file written to: $NewFile"
exit 0
} catch {
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"