Add open-google-play.ps1 and open-google-mail.ps1

This commit is contained in:
Markus Fleschutz 2021-10-28 08:41:53 +02:00
parent 4c8f0c90d0
commit 1d335fb513
14 changed files with 102 additions and 46 deletions

View File

@ -175,7 +175,9 @@ open-github.ps1, Opens GitHub's website
open-google-contacts.ps1, Opens Google Contacts open-google-contacts.ps1, Opens Google Contacts
open-google-earth.ps1, Opens Google Earth open-google-earth.ps1, Opens Google Earth
open-google-maps.ps1, Opens Google Maps open-google-maps.ps1, Opens Google Maps
open-google-mail.ps1, Opens Google Mail
open-google-news.ps1, Opens Google News open-google-news.ps1, Opens Google News
open-google-play.ps1, Opens Google Play
open-google-search.ps1, Opens Google Search open-google-search.ps1, Opens Google Search
open-google-translate.ps1, Opens Google Translate open-google-translate.ps1, Opens Google Translate
open-home-folder.ps1, Opens the user's home folder open-home-folder.ps1, Opens the user's home folder

Can't render this file because it has a wrong number of fields in line 95.

View File

@ -1,6 +1,6 @@
## open-google-contacts.ps1 - Opens Google Contacts ## open-google-contacts.ps1 - Opens Google Contacts
This script launches the Web browser with Google Contacts website. This script launches the Web browser with the Google Contacts website.
## Parameters ## Parameters
```powershell ```powershell

View File

@ -1,6 +1,6 @@
## open-google-earth.ps1 - Opens Google Earth ## open-google-earth.ps1 - Opens Google Earth
This script launches the Web browser with Google Earth's website. This script launches the Web browser with the Google Earth website.
## Parameters ## Parameters
```powershell ```powershell

26
Docs/open-google-mail.md Normal file
View File

@ -0,0 +1,26 @@
## open-google-mail.ps1 - Opens Google Mail
This script launches the Web browser with the Google Mail website.
## Parameters
```powershell
open-google-mail.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-google-mail
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of open-google-mail.ps1*

26
Docs/open-google-play.md Normal file
View File

@ -0,0 +1,26 @@
## open-google-play.ps1 - Opens Google Play
This script launches the Web browser with the Google Play website.
## Parameters
```powershell
open-google-play.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-google-play
```
## Notes
Author: Markus Fleschutz · License: CC0
## Related Links
https://github.com/fleschutz/PowerShell
*Generated by convert-ps2md.ps1 using the comment-based help of open-google-play.ps1*

View File

@ -129,8 +129,10 @@ Mega Collection of PowerShell Scripts
| [open-github.ps1](Scripts/open-github.ps1) | Opens GitHub's website | [Help](Docs/open-github.md) | | [open-github.ps1](Scripts/open-github.ps1) | Opens GitHub's website | [Help](Docs/open-github.md) |
| [open-google-contacts.ps1](Scripts/open-google-contacts.ps1) | Opens Google Contacts | [Help](Docs/open-google-contacts.md) | | [open-google-contacts.ps1](Scripts/open-google-contacts.ps1) | Opens Google Contacts | [Help](Docs/open-google-contacts.md) |
| [open-google-earth.ps1](Scripts/open-google-earth.ps1) | Opens Google Earth | [Help](Docs/open-google-earth.md) | | [open-google-earth.ps1](Scripts/open-google-earth.ps1) | Opens Google Earth | [Help](Docs/open-google-earth.md) |
| [open-google-mail.ps1](Scripts/open-google-mail.ps1) | Opens Google Mail | [Help](Docs/open-google-mail.md) |
| [open-google-maps.ps1](Scripts/open-google-maps.ps1) | Opens Google Maps | [Help](Docs/open-google-maps.md) | | [open-google-maps.ps1](Scripts/open-google-maps.ps1) | Opens Google Maps | [Help](Docs/open-google-maps.md) |
| [open-google-news.ps1](Scripts/open-google-news.ps1) | Opens Google News | [Help](Docs/open-google-news.md) | | [open-google-news.ps1](Scripts/open-google-news.ps1) | Opens Google News | [Help](Docs/open-google-news.md) |
| [open-google-play.ps1](Scripts/open-google-play.ps1) | Opens Google Play | [Help](Docs/open-google-play.md) |
| [open-google-search.ps1](Scripts/open-google-search.ps1) | Opens Google Search | [Help](Docs/open-google-search.md) | | [open-google-search.ps1](Scripts/open-google-search.ps1) | Opens Google Search | [Help](Docs/open-google-search.md) |
| [open-google-translate.ps1](Scripts/open-google-translate.ps1) | Opens Google Translate | [Help](Docs/open-google-translate.md) | | [open-google-translate.ps1](Scripts/open-google-translate.ps1) | Opens Google Translate | [Help](Docs/open-google-translate.md) |
| [open-home-folder.ps1](Scripts/open-home-folder.ps1) | Opens the user's home folder | [Help](Docs/open-home-folder.md) | | [open-home-folder.ps1](Scripts/open-home-folder.ps1) | Opens the user's home folder | [Help](Docs/open-home-folder.md) |

View File

@ -2,7 +2,7 @@
.SYNOPSIS .SYNOPSIS
Opens Google Contacts Opens Google Contacts
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Contacts website. This script launches the Web browser with the Google Contacts website.
.EXAMPLE .EXAMPLE
PS> ./open-google-contacts PS> ./open-google-contacts
.NOTES .NOTES
@ -11,10 +11,5 @@
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
try {
& "$PSScriptRoot/open-browser.ps1" "https://contacts.google.com" & "$PSScriptRoot/open-browser.ps1" "https://contacts.google.com"
exit 0 # success exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}

View File

@ -2,7 +2,7 @@
.SYNOPSIS .SYNOPSIS
Opens Google Earth Opens Google Earth
.DESCRIPTION .DESCRIPTION
This script launches the Web browser with Google Earth's website. This script launches the Web browser with the Google Earth website.
.EXAMPLE .EXAMPLE
PS> ./open-google-earth PS> ./open-google-earth
.NOTES .NOTES
@ -11,10 +11,5 @@
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
try {
& "$PSScriptRoot/open-browser.ps1" "https://earth.google.com/web/" & "$PSScriptRoot/open-browser.ps1" "https://earth.google.com/web/"
exit 0 # success exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}

15
Scripts/open-google-mail.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Opens Google Mail
.DESCRIPTION
This script launches the Web browser with the Google Mail website.
.EXAMPLE
PS> ./open-google-mail
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://mail.google.com"
exit 0 # success

View File

@ -11,10 +11,5 @@
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
try {
& "$PSScriptRoot/open-browser.ps1" "https://google.de/maps" & "$PSScriptRoot/open-browser.ps1" "https://google.de/maps"
exit 0 # success exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}

View File

@ -11,10 +11,5 @@
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
try {
& "$PSScriptRoot/open-browser.ps1" "https://news.google.com" & "$PSScriptRoot/open-browser.ps1" "https://news.google.com"
exit 0 # success exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}

15
Scripts/open-google-play.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Opens Google Play
.DESCRIPTION
This script launches the Web browser with the Google Play website.
.EXAMPLE
PS> ./open-google-play
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-browser.ps1" "https://play.google.com/store"
exit 0 # success

View File

@ -11,10 +11,5 @@
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
try {
& "$PSScriptRoot/open-browser.ps1" "https://google.com" & "$PSScriptRoot/open-browser.ps1" "https://google.com"
exit 0 # success exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}

View File

@ -11,10 +11,5 @@
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
#> #>
try {
& "$PSScriptRoot/open-browser.ps1" "https://translate.google.com" & "$PSScriptRoot/open-browser.ps1" "https://translate.google.com"
exit 0 # success exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
exit 1
}