mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-29 11:24:27 +01:00
Add open-google-play.ps1 and open-google-mail.ps1
This commit is contained in:
parent
4c8f0c90d0
commit
1d335fb513
@ -175,7 +175,9 @@ open-github.ps1, Opens GitHub's website
|
||||
open-google-contacts.ps1, Opens Google Contacts
|
||||
open-google-earth.ps1, Opens Google Earth
|
||||
open-google-maps.ps1, Opens Google Maps
|
||||
open-google-mail.ps1, Opens Google Mail
|
||||
open-google-news.ps1, Opens Google News
|
||||
open-google-play.ps1, Opens Google Play
|
||||
open-google-search.ps1, Opens Google Search
|
||||
open-google-translate.ps1, Opens Google Translate
|
||||
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.
|
@ -1,6 +1,6 @@
|
||||
## 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
|
||||
```powershell
|
||||
|
@ -1,6 +1,6 @@
|
||||
## 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
|
||||
```powershell
|
||||
|
26
Docs/open-google-mail.md
Normal file
26
Docs/open-google-mail.md
Normal 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
26
Docs/open-google-play.md
Normal 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*
|
@ -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-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-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-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-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) |
|
||||
|
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Opens Google Contacts
|
||||
.DESCRIPTION
|
||||
This script launches the Web browser with Google Contacts website.
|
||||
This script launches the Web browser with the Google Contacts website.
|
||||
.EXAMPLE
|
||||
PS> ./open-google-contacts
|
||||
.NOTES
|
||||
@ -11,10 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://contacts.google.com"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
||||
exit 1
|
||||
}
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://contacts.google.com"
|
||||
exit 0 # success
|
||||
|
@ -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
|
||||
|
15
Scripts/open-google-mail.ps1
Executable file
15
Scripts/open-google-mail.ps1
Executable 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
|
@ -11,10 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://google.de/maps"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
||||
exit 1
|
||||
}
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://google.de/maps"
|
||||
exit 0 # success
|
||||
|
@ -11,10 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://news.google.com"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
||||
exit 1
|
||||
}
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://news.google.com"
|
||||
exit 0 # success
|
||||
|
15
Scripts/open-google-play.ps1
Executable file
15
Scripts/open-google-play.ps1
Executable 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
|
@ -11,10 +11,5 @@
|
||||
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
|
||||
}
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://google.com"
|
||||
exit 0 # success
|
||||
|
@ -11,10 +11,5 @@
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
try {
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://translate.google.com"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"
|
||||
exit 1
|
||||
}
|
||||
& "$PSScriptRoot/open-browser.ps1" "https://translate.google.com"
|
||||
exit 0 # success
|
||||
|
Loading…
Reference in New Issue
Block a user