Add open-google-contacts.ps1 and open-google-news.ps1

This commit is contained in:
Markus Fleschutz 2021-10-25 11:18:43 +02:00
parent dbe42671ec
commit 312b38a04a
6 changed files with 96 additions and 0 deletions

View File

@ -166,8 +166,10 @@ open-downloads-folder.ps1, Opens the user's downloads folder
open-dropbox-folder.ps1, Opens the user's Dropbox folder
open-email-client.ps1, Starts the default email client
open-file-explorer.ps1, Opens the File Explorer
open-google-contacts.ps1, Opens Google Contacts
open-google-earth.ps1, Opens Google Earth
open-google-maps.ps1, Opens Google Maps
open-google-news.ps1, Opens Google News
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 94.

View File

@ -0,0 +1,26 @@
## open-google-contacts.ps1 - Opens Google Contacts
This script starts the Web browser and opens Google Contacts.
## Parameters
```powershell
open-google-contacts.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-google-contacts
```
## 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-contacts.ps1*

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

@ -0,0 +1,26 @@
## open-google-news.ps1 - Opens Google News
This script starts the Web browser and opens Google News.
## Parameters
```powershell
open-google-news.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-google-news
```
## 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-news.ps1*

View File

@ -121,8 +121,10 @@ Mega Collection of PowerShell Scripts
| [open-dropbox-folder.ps1](Scripts/open-dropbox-folder.ps1) | Opens the user's Dropbox folder | [Help](Docs/open-dropbox-folder.md) |
| [open-email-client.ps1](Scripts/open-browser.ps1) | Starts the default email client | [Help](Docs/open-email-client.md) |
| [open-file-explorer.ps1](Scripts/open-file-explorer.ps1) | Opens the File Explorer | [Help](Docs/open-file-explorer.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-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-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) |

View File

@ -0,0 +1,20 @@
<#
.SYNOPSIS
Opens Google Contacts
.DESCRIPTION
This script starts the Web browser and opens Google Contacts.
.EXAMPLE
PS> ./open-google-contacts
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
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
}

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

@ -0,0 +1,20 @@
<#
.SYNOPSIS
Opens Google News
.DESCRIPTION
This script starts the Web browser and opens Google News.
.EXAMPLE
PS> ./open-google-news
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
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
}