Add several show-*.ps1 scripts

This commit is contained in:
Markus Fleschutz 2021-11-03 20:25:49 +01:00
parent eda717a626
commit 9145a02bf8
15 changed files with 212 additions and 2 deletions

15
Scripts/show-amsterdam.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Amsterdam in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Amsterdam (Netherlands) in Google Maps.
.EXAMPLE
PS> ./show-amsterdam
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Amsterdam"
exit 0 # success

15
Scripts/show-berlin.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Berlin in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Berlin (Germany) in Google Maps.
.EXAMPLE
PS> ./show-berlin
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Berlin"
exit 0 # success

15
Scripts/show-boston.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Boston in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Boston (US) in Google Maps.
.EXAMPLE
PS> ./show-boston
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Boston"
exit 0 # success

15
Scripts/show-cape-town.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Cape Town in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Cape Town (South Africa) in Google Maps.
.EXAMPLE
PS> ./show-cape-town
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Cape+Town"
exit 0 # success

15
Scripts/show-dubai.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Dubai in Google Maps
.DESCRIPTION
This script launches the Web browser and shows New York City (US) in Google Maps.
.EXAMPLE
PS> ./show-dubai
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Dubai"
exit 0 # success

15
Scripts/show-hong-kong.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Hong Kong in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Hong Kong (China) in Google Maps.
.EXAMPLE
PS> ./show-hong-kong
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Hong+Kong"
exit 0 # success

15
Scripts/show-london.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows London in Google Maps
.DESCRIPTION
This script launches the Web browser and shows London (UK) in Google Maps.
.EXAMPLE
PS> ./show-london
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/London"
exit 0 # success

15
Scripts/show-miami.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Miami in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Miami (US) in Google Maps.
.EXAMPLE
PS> ./show-miami
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Miami"
exit 0 # success

15
Scripts/show-munich.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Munich in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Munich (Germany) in Google Maps.
.EXAMPLE
PS> ./show-munich
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Munich"
exit 0 # success

View File

@ -1,8 +1,8 @@
<#
.SYNOPSIS
Show NYC in Google Maps
Shows NYC in Google Maps
.DESCRIPTION
This script launches the Web browser with Google Maps at New York City.
This script launches the Web browser and shows New York City (US) in Google Maps.
.EXAMPLE
PS> ./show-new-york-city
.NOTES

15
Scripts/show-paris.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Paris in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Paris (France) in Google Maps.
.EXAMPLE
PS> ./show-paris
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Paris"
exit 0 # success

15
Scripts/show-rome.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Rome in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Rome (Italy) in Google Maps.
.EXAMPLE
PS> ./show-rome
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Rome"
exit 0 # success

15
Scripts/show-singapore.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Singapore in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Singapore in Google Maps.
.EXAMPLE
PS> ./show-singapore
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Singapore"
exit 0 # success

15
Scripts/show-tokyo.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Tokyo in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Tokyo (Japan) in Google Maps.
.EXAMPLE
PS> ./show-tokyo
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Tokyo"
exit 0 # success

15
Scripts/show-toronto.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows Toronto in Google Maps
.DESCRIPTION
This script launches the Web browser and shows Toronto (Canada) in Google Maps.
.EXAMPLE
PS> ./show-toronto
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://www.google.com/maps/place/Toronto"
exit 0 # success