Add open-google-earth.ps1, open-google-maps.ps1, open-google-search.ps1

This commit is contained in:
Markus Fleschutz
2021-10-24 20:07:37 +02:00
parent 0bfa4ce4c9
commit a6999c931b
8 changed files with 144 additions and 0 deletions

20
Scripts/open-google-search.ps1 Executable file
View File

@ -0,0 +1,20 @@
<#
.SYNOPSIS
Opens Google Search
.DESCRIPTION
This script starts the Web browser and opens Google Search
.EXAMPLE
PS> ./open-google-search
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
try {
& "$PSScriptRoot/open-browser.ps1" "https://google.com"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}