Updated latlong.ps1

This commit is contained in:
Markus Fleschutz 2020-11-22 09:36:46 +00:00
parent 38b31044bf
commit 3e1d7901e5

View File

@ -8,7 +8,7 @@
param([string]$City) param([string]$City)
if ($City -eq "" ) { if ($City -eq "" ) {
$City = read-host "Enter city" $City = read-host "Enter the city"
} }
try { try {
@ -23,7 +23,7 @@ try {
$Lat = $Row.lat $Lat = $Row.lat
$Long = $Row.lng $Long = $Row.lng
$Population = $Row.population $Population = $Row.population
write-host "✔️ $City ($Country, $Region, $Population people) is at $Lat°N, $Long°W" write-host "* $City ($Country, $Region, population $Population) is at $Lat°N, $Long°W"
} }
} }