mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-14 03:54:46 +01:00
Add 3 more cities
This commit is contained in:
parent
9f6ade0c8e
commit
9468ac7be1
@ -56,7 +56,7 @@ Computer, open `name` website
|
||||
Computer, show `name` city
|
||||
--------------------------
|
||||
* launches the default Web browser with Google Maps at the given city.
|
||||
* replace `name` by: "Atlanta", "Barcelona", "Berlin", "Boston", "Cairo", "Cape Town", "Chicago", "Dallas", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Miami", "Moscow", "Munich", "New York", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", or "Washington".
|
||||
* replace `name` by: "Atlanta", "Barcelona", "Berlin", "Boston", "Cairo", "Cape Town", "Chicago", "Dallas", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Kansas", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Miami", "Moscow", "Munich", "New York", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", "Vienna", "Washington", "Zurich".
|
||||
* when finished see "Computer, close `name` browser" to close the Web browser.
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Amsterdam in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Amsterdam (Netherlands) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Amsterdam city (Netherlands).
|
||||
.EXAMPLE
|
||||
PS> ./show-amsterdam-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Atlanta in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Atlanta city (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Atlanta city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-atlanta-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Barcelona in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Barcelona city (Spain) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Barcelona city (Spain).
|
||||
.EXAMPLE
|
||||
PS> ./show-barcelona-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Berlin in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Berlin (Germany) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Berlin city (Germany).
|
||||
.EXAMPLE
|
||||
PS> ./show-berlin-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Boston in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Boston (US) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Boston city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-boston-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Cairo in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Cairo (Egypt) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Cairo city (Egypt).
|
||||
.EXAMPLE
|
||||
PS> ./show-cairo-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Cape Town in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Cape Town city (South Africa) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Cape Town city (South Africa).
|
||||
.EXAMPLE
|
||||
PS> ./show-cape-town-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Chicago in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Chicago (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Chicago city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-chicago-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Dallas in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Dallas (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Dallas city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-dallas-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Dubai in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Dubai (VUE) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Dubai city (VUE).
|
||||
.EXAMPLE
|
||||
PS> ./show-dubai-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Dublin in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Dublin city (Ireland) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Dublin city (Ireland).
|
||||
.EXAMPLE
|
||||
PS> ./show-dublin-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Frankfurt in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Frankfurt (Germany) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Frankfurt city (Germany).
|
||||
.EXAMPLE
|
||||
PS> ./show-frankfurt-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Hamburg in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Hamburg (Germany) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Hamburg city (Germany).
|
||||
.EXAMPLE
|
||||
PS> ./show-hamburg-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Hong Kong in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Hong Kong (China) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Hong Kong city (China).
|
||||
.EXAMPLE
|
||||
PS> ./show-hong-kong-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Jerusalem in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Jerusalem city (Israel) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Jerusalem city (Israel).
|
||||
.EXAMPLE
|
||||
PS> ./show-jerusalem-city
|
||||
.NOTES
|
||||
|
15
Scripts/show-kansas-city.ps1
Executable file
15
Scripts/show-kansas-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Kansas in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Kansas city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-kansas-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Kansas"
|
||||
exit 0 # success
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Las Vegas in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Las Vegas city (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Las Vegas city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-las-vegas-city
|
||||
.NOTES
|
||||
@ -11,5 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/London"
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Las+Vegas"
|
||||
exit 0 # success
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Lissabon in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Lissabon (Portugal) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Lissabon city (Portugal).
|
||||
.EXAMPLE
|
||||
PS> ./show-lissabon-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows London in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows London city (UK) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at London city (UK).
|
||||
.EXAMPLE
|
||||
PS> ./show-london-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Los Angeles in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Los Angeles city (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Los Angeles city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-los-angeles-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Madrid in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Madrid (Spain) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Madrid city (Spain).
|
||||
.EXAMPLE
|
||||
PS> ./show-madrid-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Miami in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Miami (US) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Miami city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-miami-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Moscow in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Moscow city (Russia) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Moscow city (Russia).
|
||||
.EXAMPLE
|
||||
PS> ./show-moscow-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Munich in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Munich (Germany) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Munich city (Germany).
|
||||
.EXAMPLE
|
||||
PS> ./show-munich-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows NYC in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows New York City (US) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at New York City (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-new-york-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Paris in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Paris (France) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Paris city (France).
|
||||
.EXAMPLE
|
||||
PS> ./show-paris-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Rome in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Rome (Italy) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Rome city (Italy).
|
||||
.EXAMPLE
|
||||
PS> ./show-rome-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows San Francisco in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of San Francisco (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at San Francisco city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-san-francisco-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Seattle in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Seattle (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Seattle city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-seattle-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Singapore in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Singapore city in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Singapore city.
|
||||
.EXAMPLE
|
||||
PS> ./show-singapore-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Sydney in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Sydney (Australia) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Sydney city (Australia).
|
||||
.EXAMPLE
|
||||
PS> ./show-sydney-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Tokyo in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Tokyo (Japan) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Tokyo city (Japan).
|
||||
.EXAMPLE
|
||||
PS> ./show-tokyo-city
|
||||
.NOTES
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Toronto in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows the city of Toronto (Canada) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Toronto city (Canada).
|
||||
.EXAMPLE
|
||||
PS> ./show-toronto-city
|
||||
.NOTES
|
||||
|
15
Scripts/show-vienna-city.ps1
Executable file
15
Scripts/show-vienna-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Vienna in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Vienna (Austria).
|
||||
.EXAMPLE
|
||||
PS> ./show-vienna-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Vienna"
|
||||
exit 0 # success
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Shows Washington in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser and shows Washington city (USA) in Google Maps.
|
||||
This script launches the Web browser with Google Maps at Washington city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-washington-city
|
||||
.NOTES
|
||||
|
15
Scripts/show-zurich-city.ps1
Executable file
15
Scripts/show-zurich-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Zurich in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Frankfurt city (Germany).
|
||||
.EXAMPLE
|
||||
PS> ./show-zurich-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Zurich"
|
||||
exit 0 # success
|
Loading…
Reference in New Issue
Block a user