mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-24 21:16:54 +01:00
Add show-tunis-city.ps1
This commit is contained in:
parent
4b0900c5bb
commit
abca2f5d62
@ -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", "Mexico", "Miami", "Montreal", "Moscow", "Munich", "New York", "Panama", "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", "Tunis", "Vienna", "Washington", "Zurich".
|
||||
* when finished see "Computer, close `name` browser" to close the Web browser.
|
||||
|
||||
|
||||
|
15
Scripts/show-tunis-city.ps1
Normal file
15
Scripts/show-tunis-city.ps1
Normal file
@ -0,0 +1,15 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows Tunis city in Google Maps
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Maps at Tunis city (Tunisia).
|
||||
.EXAMPLE
|
||||
PS> ./show-tunis-city
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
& "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps/place/Tunis"
|
||||
exit 0 # success
|
Loading…
Reference in New Issue
Block a user