mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-22 20:51:17 +01:00
Add 2 more cities
This commit is contained in:
parent
e4a9cbbf6b
commit
7e6c942c1a
@ -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", "Denver", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Kansas", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Miami", "Montreal", "Moscow", "Munich", "New York", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", "Vienna", "Washington", "Zurich".
|
||||
* replace `name` by: "Atlanta", "Barcelona", "Berlin", "Boston", "Cairo", "Cape Town", "Chicago", "Dallas", "Denver", "Dubai", "Dublin", "Frankfurt", "Hamburg", "Hong Kong", "Jerusalem", "Kansas", "Las Vegas", "Lissabon", "London", "Los Angeles", "Madrid", "Mexico", "Miami", "Montreal", "Moscow", "Munich", "New York", "Panama", "Paris", Rome", "San Francisco", "Seattle", "Singapore", "Sydney", "Tokyo", "Toronto", "Vienna", "Washington", "Zurich".
|
||||
* when finished see "Computer, close `name` browser" to close the Web browser.
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Amsterdam in Google Maps
|
||||
Shows Amsterdam city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Amsterdam city (Netherlands).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Atlanta in Google Maps
|
||||
Shows Atlanta city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Atlanta city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Barcelona in Google Maps
|
||||
Shows Barcelona city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Barcelona city (Spain).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Berlin in Google Maps
|
||||
Shows Berlin city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Berlin city (Germany).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Boston in Google Maps
|
||||
Shows Boston city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Boston city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Cairo in Google Maps
|
||||
Shows Cairo city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Cairo city (Egypt).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Cape Town in Google Maps
|
||||
Shows Cape Town city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Cape Town city (South Africa).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Chicago in Google Maps
|
||||
Shows Chicago city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Chicago city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Dallas in Google Maps
|
||||
Shows Dallas city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Dallas city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Denver in Google Maps
|
||||
Shows Denver city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Denver city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Dubai in Google Maps
|
||||
Shows Dubai city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Dubai city (VUE).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Dublin in Google Maps
|
||||
Shows Dublin city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Dublin city (Ireland).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Frankfurt in Google Maps
|
||||
Shows Frankfurt city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Frankfurt city (Germany).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Hamburg in Google Maps
|
||||
Shows Hamburg city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Hamburg city (Germany).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Hong Kong in Google Maps
|
||||
Shows Hong Kong city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Hong Kong city (China).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Jerusalem in Google Maps
|
||||
Shows Jerusalem city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Jerusalem city (Israel).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Kansas in Google Maps
|
||||
Shows Kansas city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Kansas city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Las Vegas in Google Maps
|
||||
Shows Las Vegas city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Las Vegas city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Lissabon in Google Maps
|
||||
Shows Lissabon city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Lissabon city (Portugal).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows London in Google Maps
|
||||
Shows London city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at London city (UK).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Los Angeles in Google Maps
|
||||
Shows Los Angeles city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Los Angeles city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Madrid in Google Maps
|
||||
Shows Madrid city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Madrid city (Spain).
|
||||
.EXAMPLE
|
||||
|
15
Scripts/show-mexico-city.ps1
Executable file
15
Scripts/show-mexico-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Mexico city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Mexico city (Mexico).
|
||||
.EXAMPLE
|
||||
PS> ./show-mexico-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Mexico+City"
|
||||
exit 0 # success
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Miami in Google Maps
|
||||
Shows Miami city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Miami city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Montreal in Google Maps
|
||||
Shows Montreal city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Montreal city (Canada).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Moscow in Google Maps
|
||||
Shows Moscow city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Moscow city (Russia).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Munich in Google Maps
|
||||
Shows Munich city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Munich city (Germany).
|
||||
.EXAMPLE
|
||||
|
15
Scripts/show-panama-city.ps1
Executable file
15
Scripts/show-panama-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Panama city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Panama city (Panama).
|
||||
.EXAMPLE
|
||||
PS> ./show-panama-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Panama+City"
|
||||
exit 0 # success
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Paris in Google Maps
|
||||
Shows Paris city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Paris city (France).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Rome in Google Maps
|
||||
Shows Rome city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Rome city (Italy).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows San Francisco in Google Maps
|
||||
Shows San Francisco city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at San Francisco city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Seattle in Google Maps
|
||||
Shows Seattle city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Seattle city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Singapore in Google Maps
|
||||
Shows Singapore city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Singapore city.
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Sydney in Google Maps
|
||||
Shows Sydney city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Sydney city (Australia).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Tokyo in Google Maps
|
||||
Shows Tokyo city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Tokyo city (Japan).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Toronto in Google Maps
|
||||
Shows Toronto city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Toronto city (Canada).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Vienna in Google Maps
|
||||
Shows Vienna city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Vienna (Austria).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Washington in Google Maps
|
||||
Shows Washington city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Washington city (USA).
|
||||
.EXAMPLE
|
||||
|
@ -1,6 +1,6 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Zurich in Google Maps
|
||||
Shows Zurich city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Frankfurt city (Germany).
|
||||
.EXAMPLE
|
||||
|
Loading…
Reference in New Issue
Block a user