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,12 @@
.DESCRIPTION
This PowerShell script lists major earthquakes with magnitude >= 6.0 for the last 30 days.
.EXAMPLE
PS> ./list-earthquakes
PS> ./list-earthquakes.ps1
Mag Location Depth Time
--- -------- ----- ----
7.2 98 km S of Sand Point, Alaska 33 km 2023-07-16T06:48:22.606Z
...
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -31,4 +36,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}