mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-08 20:54:38 +02:00
Update write-quote.ps1
This commit is contained in:
@ -19,11 +19,11 @@ try {
|
||||
$Quote = $Table[$Index].QUOTE
|
||||
$Author = $Table[$Index].AUTHOR
|
||||
|
||||
""
|
||||
Write-Host '“'$Quote' ”'
|
||||
Write-Output ""
|
||||
Write-Host '“'"$Quote"'„'
|
||||
$Spaces = " "
|
||||
$Spaces = $Spaces.Substring(0, $Quote.Length - $Author.Length)
|
||||
"$Spaces $($Author.toUpper())"
|
||||
Write-Output "$Spaces- $($Author.toUpper())"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user