Add comment to exit 0

This commit is contained in:
Markus Fleschutz
2021-09-27 10:09:45 +02:00
parent a5ae44db68
commit 4c2cc6033d
257 changed files with 509 additions and 509 deletions

View File

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
alert.ps1 [<message>]
.DESCRIPTION
@ -20,7 +20,7 @@ try {
curl --header "Access-Token: o.PZl5XCp6SBl4F5PpaNXGDfFpUJZKAlEb" --header "Content-Type: application/json" --data-binary '{"type": "note", "title": "ALERT", "body": "$Message"}' --request POST https://api.pushbullet.com/v2/pushes
exit 0
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1