mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-13 14:37:19 +02:00
Add open-google-play.ps1 and open-google-mail.ps1
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Opens Google Earth
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Earth's website.
|
||||
This script launches the Web browser with the Google Earth website.
|
||||
.EXAMPLE
|
||||
PS> ./open-google-earth
|
||||
.NOTES
|
||||
@ -11,10 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://earth.google.com/web/"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
||||
exit 1
|
||||
}
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://earth.google.com/web/"
|
||||
exit 0 # success
|
||||
|
Reference in New Issue
Block a user