PowerShell/scripts/write-qr-code.ps1

33 lines
2.1 KiB
PowerShell
Raw Normal View History

2024-10-01 15:24:16 +02:00
<#
2023-06-15 11:28:09 +02:00
.SYNOPSIS
Writes a QR code
.DESCRIPTION
2023-06-15 11:39:14 +02:00
This PowerShell script writes "Hello World" as QR code to the console output.
2023-06-15 11:28:09 +02:00
.EXAMPLE
2024-05-23 16:49:44 +02:00
PS> ./write-qr-code.ps1
2023-06-15 11:28:09 +02:00
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
#>
2024-05-23 16:49:44 +02:00
Write-Host " " -foregroundColor black -backgroundColor white
Write-Host " " -foregroundColor black -backgroundColor white
Write-Host " " -foregroundColor black -backgroundColor white
Write-Host " ▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄▄▄▄▄▄▄ " -foregroundColor black -backgroundColor white
Write-Host " █ ▄▄▄ █ ▄▄▀█ █ ▄▄▄ █ " -foregroundColor black -backgroundColor white
Write-Host " █ ███ █ █▀ ▄▀ █ ███ █ " -foregroundColor black -backgroundColor white
Write-Host " █▄▄▄▄▄█ ▄▀█▀█ █▄▄▄▄▄█ " -foregroundColor black -backgroundColor white
Write-Host " ▄▄▄▄ ▄ ▄▄▄██▄ ▄▄▄ ▄ " -foregroundColor black -backgroundColor white
Write-Host " ▀ █ ▀▄▄▀█▀▀█▀█▀█▀▀▀▄█ " -foregroundColor black -backgroundColor white
Write-Host " ▄▄██▀▀▄▄█ ▄▀▄▄▄▀ ▀ ▀▄ " -foregroundColor black -backgroundColor white
Write-Host " ▄▄▄▄▄▄▄ ▀▀██▄▄██▄ ▀ ▀ " -foregroundColor black -backgroundColor white
Write-Host " █ ▄▄▄ █ ▀▄ ▄▀ ▀ ██▀▀ " -foregroundColor black -backgroundColor white
Write-Host " █ ███ █ █▄ ▄ ▀▄ ▀█▀ " -foregroundColor black -backgroundColor white
Write-Host " █▄▄▄▄▄█ █▀▄█ ███▀ ▄ ▀ " -foregroundColor black -backgroundColor white
Write-Host " " -foregroundColor black -backgroundColor white
Write-Host " " -foregroundColor black -backgroundColor white
Write-Host " " -foregroundColor black -backgroundColor white
2023-06-15 11:28:09 +02:00
exit 0 # success