mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-02 10:59:14 +01:00
Updated latlong.ps1
This commit is contained in:
parent
38b31044bf
commit
3e1d7901e5
@ -8,7 +8,7 @@
|
||||
|
||||
param([string]$City)
|
||||
if ($City -eq "" ) {
|
||||
$City = read-host "Enter city"
|
||||
$City = read-host "Enter the city"
|
||||
}
|
||||
|
||||
try {
|
||||
@ -23,7 +23,7 @@ try {
|
||||
$Lat = $Row.lat
|
||||
$Long = $Row.lng
|
||||
$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"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user