Improve the .Example section

This commit is contained in:
Markus Fleschutz
2023-08-06 21:35:36 +02:00
parent 18e4f20852
commit fa9d43b715
244 changed files with 457 additions and 433 deletions

View File

@ -4,7 +4,8 @@
.DESCRIPTION
This PowerShell script queries the computer's uptime and prints it.
.EXAMPLE
PS> ./check-uptime
PS> ./check-uptime.ps1
✅ Up for 2 days, 20 hours, 10 minutes
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -44,4 +45,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}