Replaced the done character

This commit is contained in:
Markus Fleschutz
2024-10-01 13:37:53 +02:00
parent c43e787025
commit fd963889d2
600 changed files with 743 additions and 769 deletions

View File

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Checks credentials
.DESCRIPTION
@ -8,7 +8,7 @@
.EXAMPLE
PS> ./check-credentials.ps1
Enter username and password, please.
✔️ Your credentials are correct.
Your credentials are correct.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -30,7 +30,7 @@ try {
$pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password))
if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." }
"✔️ Your credentials are correct."
" Your credentials are correct."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"