Update check-drives.ps1, check-smart-devices.ps1, and

list-earthquakes.ps1
This commit is contained in:
Markus Fleschutz
2023-01-23 13:39:02 +01:00
parent f69519c603
commit fbd44c0c28
3 changed files with 7 additions and 3 deletions

View File

@ -12,7 +12,7 @@
#>
$Format="csv" # cap, csv, geojson, kml, kmlraw, quakeml, text, xml
$MinMagnitude=5.8
$MinMagnitude=5.7
$OrderBy="magnitude" # time, time-asc, magnitude, magnitude-asc
function ListEarthquakes {
@ -22,6 +22,7 @@ function ListEarthquakes {
[int]$Depth = $Quake.depth
New-Object PSObject -Property @{ Mag=$Quake.mag; Depth="$Depth km"; Location=$Quake.place; Time=$Quake.time }
}
Write-Progress -completed "Loading finished."
}
try {