Update write-ascii-image.ps1

This commit is contained in:
Markus Fleschutz 2023-06-23 11:20:52 +02:00
parent adbf4b9a88
commit 7f4d2d7575

View File

@ -1,27 +1,42 @@
<#
.SYNOPSIS
Writes an ASCII image
.DESCRIPTION
This PowerShell script writes an ASCII image to the console.
.EXAMPLE
PS> .\write-ascii-image.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
#>
"" function WriteLine { param([string]$line)
" _-o#&&*''''?d:>b\_" Write-Host $line -foregroundColor green
" _o/'`'' '',, dMF9MMMMMHo_" }
" .o&#' `'MbHMMMMMMMMMMMHo."
" .o'' ' vodM*$&&HMMMMMMMMMM?." WriteLine ""
" ,' $M&ood,~'`(&##MMMMMMH\" WriteLine " _-o#&&*''''?d:>b\_"
" / ,MMMMMMM#b?#bobMMMMHMMML" WriteLine " _o/'`'' '',, dMF9MMMMMHo_"
" & ?MMMMMMMMMMMMMMMMM7MMM$R*Hk" WriteLine " .o&#' `'MbHMMMMMMMMMMMHo."
" ?$. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L" WriteLine " .o'' ' vodM*$&&HMMMMMMMMMM?."
"| |MMMMMMMMMMMMMMMMMMMMbMH' T," WriteLine " ,' $M&ood,~'`(&##MMMMMMH\"
"$H#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?" WriteLine " / ,MMMMMMM#b?#bobMMMMHMMML"
"]MMH# ''*''''*#MMMMMMMMMMMMM' -" WriteLine " & ?MMMMMMMMMMMMMMMMM7MMM$R*Hk"
"MMMMMb_ |MMMMMMMMMMMP' :" WriteLine " ?$. :MMMMMMMMMMMMMMMMMMM/HMMM|`*L"
"HMMMMMMMHo `MMMMMMMMMT ." WriteLine "| |MMMMMMMMMMMMMMMMMMMMbMH' T,"
"?MMMMMMMMP 9MMMMMMMM} -" WriteLine "$H#: `*MMMMMMMMMMMMMMMMMMMMb#}' `?"
"-?MMMMMMM |MMMMMMMMM?,d- '" WriteLine "]MMH# ''*''''*#MMMMMMMMMMMMM' -"
" :|MMMMMM- `MMMMMMMT .M|. :" WriteLine "MMMMMb_ |MMMMMMMMMMMP' :"
" .9MMM[ &MMMMM*' `' ." WriteLine "HMMMMMMMHo `MMMMMMMMMT ."
" :9MMk `MMM#' -" WriteLine "?MMMMMMMMP 9MMMMMMMM} -"
" &M} ' .-" WriteLine "-?MMMMMMM |MMMMMMMMM?,d- '"
" `&. ." WriteLine " :|MMMMMM- `MMMMMMMT .M|. :"
" `~, . ./" WriteLine " .9MMM[ &MMMMM*' `' ."
" . _ .-" WriteLine " :9MMk `MMM#' -"
" '`--._,dd###pp='''" WriteLine " &M} ' .-"
"" WriteLine " `&. ."
WriteLine " `~, . ./"
WriteLine " . _ .-"
WriteLine " '`--._,dd###pp='''"
exit 0 # success exit 0 # success