mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-26 14:26:10 +01:00
Add 2 more cities
This commit is contained in:
parent
9468ac7be1
commit
e4a9cbbf6b
@ -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", "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".
|
||||
* 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".
|
||||
* when finished see "Computer, close `name` browser" to close the Web browser.
|
||||
|
||||
|
||||
|
15
Scripts/show-denver-city.ps1
Executable file
15
Scripts/show-denver-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Denver in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Denver city (USA).
|
||||
.EXAMPLE
|
||||
PS> ./show-denver-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Denver"
|
||||
exit 0 # success
|
@ -11,5 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Kansas"
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Kansas+City"
|
||||
exit 0 # success
|
||||
|
15
Scripts/show-montreal-city.ps1
Executable file
15
Scripts/show-montreal-city.ps1
Executable file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Montreal in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Montreal city (Canada).
|
||||
.EXAMPLE
|
||||
PS> ./show-montreal-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Montreal"
|
||||
exit 0 # success
|
Loading…
Reference in New Issue
Block a user