1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-07-08 16:36:50 +02:00

Add open-wikipedia.ps1

This commit is contained in:
Markus Fleschutz
2021-10-28 07:36:33 +02:00
parent 84f030a0ef
commit 4c8f0c90d0
72 changed files with 117 additions and 79 deletions

@ -192,6 +192,7 @@ open-system-settings.ps1, Opens the system settings of Windows
open-task-manager.ps1, Starts the Task Manager
open-toggl-track.ps1, Opens Toggl Track
open-videos-folder.ps1, Opens the user's videos folder
open-wikipedia.ps1, Opens Wikipedia's website
open-youtube.ps1, Opens YouTube.com
pick-commit.ps1, Cherry-picks a Git commit into multiple branches
play-beep.ps1, Plays a beep sound

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

@ -1,6 +1,6 @@
## open-amazon.ps1 - Opens Amazon's website
This script starts the Web browser and opens the Amazon website.
This script launches the Web browser with the Amazon website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-browser.ps1 - Opens the default Web browser
This script opens the default Web browser, optional with given URL.
This script launches the default Web browser, optional with a given URL.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-c-drive.ps1 - Opens the C: drive folder
This script starts the File Explorer showing the C: drive folder.
This script launches the File Explorer showing the C: drive folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-calculator.ps1 - Starts the calculator app
This script starts the calculator application.
This script launches the calculator application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-downloads-folder.ps1 - Opens the user's downloads folder
This script starts the File Explorer and shows the user's downloads folder.
This script launches the File Explorer showing the user's downloads folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-dropbox-folder.ps1 - Opens the user's Dropbox folder
This script starts the File Explorer and shows the user's Dropbox folder.
This script launches the File and showing the user's Dropbox folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-edge.ps1 - Starts Microsoft Edge
This script starts the Microsoft Edge Web browser.
This script launches the Microsoft Edge Web browser.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-email-client.ps1 - Starts the default email client
This script starts the default email client.
This script launches the default email client.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-facebook.ps1 - Opens Facebook's website
This script starts the Web browser with Facebook's website.
This script launches the Web browser with Facebook's website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-file-explorer.ps1 - Starts the File Explorer
This script starts the File Explorer.
This script launches the File Explorer.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-fritz-box.ps1 - Opens FRITZ!Box's Web interface
This script starts the Web browser with FRITZ!Box's Web interface.
This script launches the Web browser with FRITZ!Box's Web interface.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-github.ps1 - Opens GitHub's website
This script starts the Web browser with GitHub's website.
This script launches the Web browser with the GitHub website.
## Parameters
```powershell

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

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

@ -1,6 +1,6 @@
## open-google-maps.ps1 - Opens Google Maps
This script starts the Web browser and opens Google Maps.
This script launches the Web browser with the Google Maps website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-google-news.ps1 - Opens Google News
This script starts the Web browser and opens Google News.
This script launches the Web browser with the Google News website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-google-search.ps1 - Opens Google Search
This script starts the Web browser and opens Google Search
This script launches the Web browser with the Google Search website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-google-translate.ps1 - Opens Google Translate
This script starts the Web browser and opens Google Translate.
This script launches the Web browser with the Google Translate website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-home-folder.ps1 - Opens the home folder
This script starts the File Explorer and shows the home folder.
This script launches the File Explorer with the user's home folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-microsoft-store.ps1 - Starts the Microsoft Store app
This script starts the Microsoft Store application.
This script launches the Microsoft Store application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-music-folder.ps1 - Opens the music folder
This script starts the File Explorer and shows the music folder.
This script launches the File Explorer with the user's music folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-netflix.ps1 - Starts the Netflix app
This script starts the Netflix application.
This script launches the Netflix application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-notepad.ps1 - Starts Notepad
This script starts Notepad.
This script launches the Notepad application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-onedrive-folder.ps1 - Opens the user's OneDrive folder
This script opens the user's OneDrive folder.
This script launches Microsoft OneDrive with the user's OneDrive folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-pictures-folder.ps1 - Opens the user's pictures folder
This script starts the File Explorer and shows the user's pictures folder.
This script launches the File Explorer with the user's pictures folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-recycle-bin.ps1 - Opens the user's recycle bin folder
This script starts the File Explorer and shows the user's recycle bin folder.
This script launches the File Explorer with the user's recycle bin folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-repos-folder.ps1 - Opens the Git repositories folder
This script starts the File Explorer and shows the user's Git repositories folder.
This script launches the File Explorer with the user's Git repositories folder.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-snipping-tool.ps1 - Starts the Snipping Tool
This script starts the Snipping Tool application.
This script launches the Snipping Tool application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-spotify.ps1 - Starts Spotify
This script starts the Spotify application.
This script launches the Spotify application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-system-settings.ps1 - Opens system settings of Windows
## open-system-settings.ps1 - Opens Windows system settings
This script starts the system settings of Windows.
This script launches the Windows system settings application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-task-manager.ps1 - Starts the Task Manager
This script starts the Task Manager application (Windows only).
This script launches the Windows Task Manager application.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-toggl-track.ps1 - Opens Toggl Track
This script starts the Web browser and opens Toggl Track
This script launches the Web browser with the Toggl Track website.
## Parameters
```powershell

@ -1,6 +1,6 @@
## open-videos-folders.ps1 - Opens the user's videos folder
This script starts the File Explorer and shows the user's videos folder.
This script launches the File Explorer with the user's videos folder.
## Parameters
```powershell

26
Docs/open-wikipedia.md Normal file

@ -0,0 +1,26 @@
## open-wikipedia.ps1 - Opens Wikipedia's website
This script launches the Web browser with Wikipedia's website.
## Parameters
```powershell
open-wikipedia.ps1 [<CommonParameters>]
[<CommonParameters>]
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
```
## Example
```powershell
PS> ./open-wikipedia
```
## 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-wikipedia.ps1*

@ -1,6 +1,6 @@
## open-youtube.ps1 - Opens YouTube
This script starts the Web browser and opens YouTube.com.
This script launches the Web browser with YouTube's website.
## Parameters
```powershell

@ -146,8 +146,9 @@ Mega Collection of PowerShell Scripts
| [open-spotify.ps1](Scripts/open-spotify.ps1) | Opens Spotify | [Help](Docs/open-spotify.md) |
| [open-system-settings.ps1](Scripts/open-system-settings.ps1)| Opens system settings of Windows | [Help](Docs/open-system-settings.md) |
| [open-task-manager.ps1](Scripts/open-task-manager.ps1)| Starts the Task Manager | [Help](Docs/open-task-manager.md) |
| [open-toggl-track.ps1](Scripts/open-toggl-track.ps1)| Opens Toggl Track | [Help](Docs/open-toggl-track.md) |
| [open-toggl-track.ps1](Scripts/open-toggl-track.ps1) | Opens Toggl Track | [Help](Docs/open-toggl-track.md) |
| [open-videos-folder.ps1](Scripts/open-videos-folder.ps1)| Opens the user's videos folder | [Help](Docs/open-videos-folder.md) |
| [open-wikipedia.ps1](Scripts/open-wikipedia.ps1) | Opens Wikipedia's website | [Help](Docs/open-wikipedia.md) |
| [open-youtube.ps1](Scripts/open-youtube.ps1) | Opens YouTube.com | [Help](Docs/open-youtube.md) |
| [remind-me.ps1](Scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message | [Help](Docs/remind-me.md) |
| [save-screenshot.ps1](Scripts/save-screenshot.ps1) | Saves a single screenshot | [Help](Docs/save-screenshot.md) |

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Amazon's website
.DESCRIPTION
This script starts the Web browser and opens the Amazon website.
This script launches the Web browser with the Amazon website.
.EXAMPLE
PS> ./open-amazon
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the default Web browser
.DESCRIPTION
This script opens the default Web browser, optional with given URL.
This script launches the default Web browser, optional with a given URL.
.PARAMETER URL
Specifies the URL
.EXAMPLE

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the C: drive folder
.DESCRIPTION
This script starts the File Explorer showing the C: drive folder.
This script launches the File Explorer showing the C: drive folder.
.EXAMPLE
PS> ./open-c-drive
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the calculator app
.DESCRIPTION
This script starts the calculator application.
This script launches the calculator application.
.EXAMPLE
PS> ./open-calculator
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the user's downloads folder
.DESCRIPTION
This script starts the File Explorer and shows the user's downloads folder.
This script launches the File Explorer showing the user's downloads folder.
.EXAMPLE
PS> ./open-downloads-folder
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the user's Dropbox folder
.DESCRIPTION
This script starts the File Explorer and shows the user's Dropbox folder.
This script launches the File and showing the user's Dropbox folder.
.EXAMPLE
PS> ./open-dropbox-folder
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts Microsoft Edge
.DESCRIPTION
This script starts the Microsoft Edge Web browser.
This script launches the Microsoft Edge Web browser.
.EXAMPLE
PS> ./open-edge
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the default email client
.DESCRIPTION
This script starts the default email client.
This script launches the default email client.
.EXAMPLE
PS> ./open-email-client
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Facebook's website
.DESCRIPTION
This script starts the Web browser with Facebook's website.
This script launches the Web browser with Facebook's website.
.EXAMPLE
PS> ./open-facebook
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the File Explorer
.DESCRIPTION
This script starts the File Explorer.
This script launches the File Explorer.
.EXAMPLE
PS> ./open-file-explorer
.PARAMETER Path

@ -2,7 +2,7 @@
.SYNOPSIS
Opens FRITZ!Box's Web interface
.DESCRIPTION
This script starts the Web browser with FRITZ!Box's Web interface.
This script launches the Web browser with FRITZ!Box's Web interface.
.EXAMPLE
PS> ./open-fritz-box
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens GitHub's website
.DESCRIPTION
This script starts the Web browser with GitHub's website.
This script launches the Web browser with the GitHub website.
.EXAMPLE
PS> ./open-github
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Google Contacts
.DESCRIPTION
This script starts the Web browser and opens Google Contacts.
This script launches the Web browser with Google Contacts website.
.EXAMPLE
PS> ./open-google-contacts
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Google Earth
.DESCRIPTION
This script starts the Web browser and opens Google Earth
This script launches the Web browser with Google Earth's website.
.EXAMPLE
PS> ./open-google-earth
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Google Maps
.DESCRIPTION
This script starts the Web browser and opens Google Maps.
This script launches the Web browser with the Google Maps website.
.EXAMPLE
PS> ./open-google-maps
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Google News
.DESCRIPTION
This script starts the Web browser and opens Google News.
This script launches the Web browser with the Google News website.
.EXAMPLE
PS> ./open-google-news
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Google Search
.DESCRIPTION
This script starts the Web browser and opens Google Search
This script launches the Web browser with the Google Search website.
.EXAMPLE
PS> ./open-google-search
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Google Translate
.DESCRIPTION
This script starts the Web browser and opens Google Translate.
This script launches the Web browser with the Google Translate website.
.EXAMPLE
PS> ./open-google-translate
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the home folder
.DESCRIPTION
This script starts the File Explorer and shows the home folder.
This script launches the File Explorer with the user's home folder.
.EXAMPLE
PS> ./open-home-folder
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the Microsoft Store app
.DESCRIPTION
This script starts the Microsoft Store application.
This script launches the Microsoft Store application.
.EXAMPLE
PS> ./open-microsoft-store
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the music folder
.DESCRIPTION
This script starts the File Explorer and shows the music folder.
This script launches the File Explorer with the user's music folder.
.EXAMPLE
PS> ./open-music-folder
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the Netflix app
.DESCRIPTION
This script starts the Netflix application.
This script launches the Netflix application.
.EXAMPLE
PS> ./open-netflix
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts Notepad
.DESCRIPTION
This script starts Notepad.
This script launches the Notepad application.
.EXAMPLE
PS> ./open-notepad
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the user's OneDrive folder
.DESCRIPTION
This script opens the user's OneDrive folder.
This script launches Microsoft OneDrive with the user's OneDrive folder.
.EXAMPLE
PS> ./open-onedrive
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the user's pictures folder
.DESCRIPTION
This script starts the File Explorer and shows the user's pictures folder.
This script launches the File Explorer with the user's pictures folder.
.EXAMPLE
PS> ./open-pictures-folder
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the user's recycle bin folder
.DESCRIPTION
This script starts the File Explorer and shows the user's recycle bin folder.
This script launches the File Explorer with the user's recycle bin folder.
.EXAMPLE
PS> ./open-recycle-bin
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the Git repositories folder
.DESCRIPTION
This script starts the File Explorer and shows the user's Git repositories folder.
This script launches the File Explorer with the user's Git repositories folder.
.EXAMPLE
PS> ./open-repos-folder
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the Snipping Tool
.DESCRIPTION
This script starts the Snipping Tool application.
This script launches the Snipping Tool application.
.EXAMPLE
PS> ./open-snipping-tool
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts Spotify
.DESCRIPTION
This script starts the Spotify application.
This script launches the Spotify application.
.EXAMPLE
PS> ./open-spotify
.NOTES

@ -1,8 +1,8 @@
<#
.SYNOPSIS
Opens system settings of Windows
Opens Windows system settings
.DESCRIPTION
This script starts the system settings of Windows.
This script launches the Windows system settings application.
.EXAMPLE
PS> ./open-system-settings
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Starts the Task Manager
.DESCRIPTION
This script starts the Task Manager application (Windows only).
This script launches the Windows Task Manager application.
.EXAMPLE
PS> ./open-task-manager
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens Toggl Track
.DESCRIPTION
This script starts the Web browser and opens Toggl Track
This script launches the Web browser with the Toggl Track website.
.EXAMPLE
PS> ./open-toggl-track
.NOTES

@ -2,7 +2,7 @@
.SYNOPSIS
Opens the user's videos folder
.DESCRIPTION
This script starts the File Explorer and shows the user's videos folder.
This script launches the File Explorer with the user's videos folder.
.EXAMPLE
PS> ./open-videos-folder
.NOTES

15
Scripts/open-wikipedia.ps1 Executable file

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

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