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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
View 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

View File

@ -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