From 4c8f0c90d0a039745027b9a44add9c4058293f42 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 28 Oct 2021 07:36:33 +0200 Subject: [PATCH] Add open-wikipedia.ps1 --- Data/scripts.csv | 1 + Docs/open-amazon.md | 2 +- Docs/open-browser.md | 2 +- Docs/open-c-drive.md | 2 +- Docs/open-calculator.md | 2 +- Docs/open-downloads-folder.md | 2 +- Docs/open-dropbox-folder.md | 2 +- Docs/open-edge.md | 2 +- Docs/open-email-client.md | 2 +- Docs/open-facebook.md | 2 +- Docs/open-file-explorer.md | 2 +- Docs/open-fritz-box.md | 2 +- Docs/open-github.md | 2 +- Docs/open-google-contacts.md | 2 +- Docs/open-google-earth.md | 2 +- Docs/open-google-maps.md | 2 +- Docs/open-google-news.md | 2 +- Docs/open-google-search.md | 2 +- Docs/open-google-translate.md | 2 +- Docs/open-home-folder.md | 2 +- Docs/open-microsoft-store.md | 2 +- Docs/open-music-folder.md | 2 +- Docs/open-netflix.md | 2 +- Docs/open-notepad.md | 2 +- Docs/open-onedrive-folder.md | 2 +- Docs/open-pictures-folder.md | 2 +- Docs/open-recycle-bin.md | 2 +- Docs/open-repos-folder.md | 2 +- Docs/open-snipping-tool.md | 2 +- Docs/open-spotify.md | 2 +- Docs/open-system-settings.md | 4 ++-- Docs/open-task-manager.md | 2 +- Docs/open-toggl-track.md | 2 +- Docs/open-videos-folders.md | 2 +- Docs/open-wikipedia.md | 26 ++++++++++++++++++++++++++ Docs/open-youtube.md | 2 +- README.md | 5 +++-- Scripts/open-amazon.ps1 | 2 +- Scripts/open-browser.ps1 | 2 +- Scripts/open-c-drive.ps1 | 2 +- Scripts/open-calculator.ps1 | 2 +- Scripts/open-downloads-folder.ps1 | 2 +- Scripts/open-dropbox-folder.ps1 | 2 +- Scripts/open-edge.ps1 | 2 +- Scripts/open-email-client.ps1 | 2 +- Scripts/open-facebook.ps1 | 2 +- Scripts/open-file-explorer.ps1 | 2 +- Scripts/open-fritz-box.ps1 | 2 +- Scripts/open-github.ps1 | 2 +- Scripts/open-google-contacts.ps1 | 2 +- Scripts/open-google-earth.ps1 | 2 +- Scripts/open-google-maps.ps1 | 2 +- Scripts/open-google-news.ps1 | 2 +- Scripts/open-google-search.ps1 | 2 +- Scripts/open-google-translate.ps1 | 2 +- Scripts/open-home-folder.ps1 | 2 +- Scripts/open-microsoft-store.ps1 | 2 +- Scripts/open-music-folder.ps1 | 2 +- Scripts/open-netflix.ps1 | 2 +- Scripts/open-notepad.ps1 | 2 +- Scripts/open-onedrive-folder.ps1 | 2 +- Scripts/open-pictures-folder.ps1 | 2 +- Scripts/open-recycle-bin.ps1 | 2 +- Scripts/open-repos-folder.ps1 | 2 +- Scripts/open-snipping-tool.ps1 | 2 +- Scripts/open-spotify.ps1 | 2 +- Scripts/open-system-settings.ps1 | 4 ++-- Scripts/open-task-manager.ps1 | 2 +- Scripts/open-toggl-track.ps1 | 2 +- Scripts/open-videos-folders.ps1 | 2 +- Scripts/open-wikipedia.ps1 | 15 +++++++++++++++ Scripts/open-youtube.ps1 | 11 +++-------- 72 files changed, 117 insertions(+), 79 deletions(-) create mode 100644 Docs/open-wikipedia.md create mode 100755 Scripts/open-wikipedia.ps1 diff --git a/Data/scripts.csv b/Data/scripts.csv index 44dcd258..92ac38d4 100644 --- a/Data/scripts.csv +++ b/Data/scripts.csv @@ -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 diff --git a/Docs/open-amazon.md b/Docs/open-amazon.md index 732ac80c..11ddf01f 100644 --- a/Docs/open-amazon.md +++ b/Docs/open-amazon.md @@ -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 diff --git a/Docs/open-browser.md b/Docs/open-browser.md index e6d6d643..c928d216 100644 --- a/Docs/open-browser.md +++ b/Docs/open-browser.md @@ -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 diff --git a/Docs/open-c-drive.md b/Docs/open-c-drive.md index c937a7cc..2cf43421 100644 --- a/Docs/open-c-drive.md +++ b/Docs/open-c-drive.md @@ -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 diff --git a/Docs/open-calculator.md b/Docs/open-calculator.md index ccdf2547..4be2a7a7 100644 --- a/Docs/open-calculator.md +++ b/Docs/open-calculator.md @@ -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 diff --git a/Docs/open-downloads-folder.md b/Docs/open-downloads-folder.md index eca0ea2e..8d90cea0 100644 --- a/Docs/open-downloads-folder.md +++ b/Docs/open-downloads-folder.md @@ -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 diff --git a/Docs/open-dropbox-folder.md b/Docs/open-dropbox-folder.md index 90019905..8d2f3027 100644 --- a/Docs/open-dropbox-folder.md +++ b/Docs/open-dropbox-folder.md @@ -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 diff --git a/Docs/open-edge.md b/Docs/open-edge.md index a556d451..3f5698cf 100644 --- a/Docs/open-edge.md +++ b/Docs/open-edge.md @@ -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 diff --git a/Docs/open-email-client.md b/Docs/open-email-client.md index 4c57f7c5..6f8cefb2 100644 --- a/Docs/open-email-client.md +++ b/Docs/open-email-client.md @@ -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 diff --git a/Docs/open-facebook.md b/Docs/open-facebook.md index 32f5477b..ab1929fb 100644 --- a/Docs/open-facebook.md +++ b/Docs/open-facebook.md @@ -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 diff --git a/Docs/open-file-explorer.md b/Docs/open-file-explorer.md index dfa7942a..728b9f73 100644 --- a/Docs/open-file-explorer.md +++ b/Docs/open-file-explorer.md @@ -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 diff --git a/Docs/open-fritz-box.md b/Docs/open-fritz-box.md index 92fbabc6..0dc383f7 100644 --- a/Docs/open-fritz-box.md +++ b/Docs/open-fritz-box.md @@ -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 diff --git a/Docs/open-github.md b/Docs/open-github.md index fce275e9..251d8a95 100644 --- a/Docs/open-github.md +++ b/Docs/open-github.md @@ -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 diff --git a/Docs/open-google-contacts.md b/Docs/open-google-contacts.md index 2fa9b239..5cae5e60 100644 --- a/Docs/open-google-contacts.md +++ b/Docs/open-google-contacts.md @@ -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 diff --git a/Docs/open-google-earth.md b/Docs/open-google-earth.md index 83a6a796..79e824e6 100644 --- a/Docs/open-google-earth.md +++ b/Docs/open-google-earth.md @@ -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 diff --git a/Docs/open-google-maps.md b/Docs/open-google-maps.md index 3f8c8efa..c1a82d51 100644 --- a/Docs/open-google-maps.md +++ b/Docs/open-google-maps.md @@ -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 diff --git a/Docs/open-google-news.md b/Docs/open-google-news.md index c10cc083..d0ac69cf 100644 --- a/Docs/open-google-news.md +++ b/Docs/open-google-news.md @@ -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 diff --git a/Docs/open-google-search.md b/Docs/open-google-search.md index 8feb1f7e..dee6c2fa 100644 --- a/Docs/open-google-search.md +++ b/Docs/open-google-search.md @@ -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 diff --git a/Docs/open-google-translate.md b/Docs/open-google-translate.md index d670b445..e48ce879 100644 --- a/Docs/open-google-translate.md +++ b/Docs/open-google-translate.md @@ -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 diff --git a/Docs/open-home-folder.md b/Docs/open-home-folder.md index 1660b661..16eac983 100644 --- a/Docs/open-home-folder.md +++ b/Docs/open-home-folder.md @@ -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 diff --git a/Docs/open-microsoft-store.md b/Docs/open-microsoft-store.md index b0878e5c..b1c72423 100644 --- a/Docs/open-microsoft-store.md +++ b/Docs/open-microsoft-store.md @@ -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 diff --git a/Docs/open-music-folder.md b/Docs/open-music-folder.md index 1ecf10b3..3d7247ef 100644 --- a/Docs/open-music-folder.md +++ b/Docs/open-music-folder.md @@ -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 diff --git a/Docs/open-netflix.md b/Docs/open-netflix.md index 03262ae8..78965e9b 100644 --- a/Docs/open-netflix.md +++ b/Docs/open-netflix.md @@ -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 diff --git a/Docs/open-notepad.md b/Docs/open-notepad.md index b5ca0c60..78a36bcd 100644 --- a/Docs/open-notepad.md +++ b/Docs/open-notepad.md @@ -1,6 +1,6 @@ ## open-notepad.ps1 - Starts Notepad -This script starts Notepad. +This script launches the Notepad application. ## Parameters ```powershell diff --git a/Docs/open-onedrive-folder.md b/Docs/open-onedrive-folder.md index a9199d19..5c40d908 100644 --- a/Docs/open-onedrive-folder.md +++ b/Docs/open-onedrive-folder.md @@ -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 diff --git a/Docs/open-pictures-folder.md b/Docs/open-pictures-folder.md index 4cb38cd7..f7eacc3e 100644 --- a/Docs/open-pictures-folder.md +++ b/Docs/open-pictures-folder.md @@ -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 diff --git a/Docs/open-recycle-bin.md b/Docs/open-recycle-bin.md index a7f13b21..595404ac 100644 --- a/Docs/open-recycle-bin.md +++ b/Docs/open-recycle-bin.md @@ -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 diff --git a/Docs/open-repos-folder.md b/Docs/open-repos-folder.md index 39c0e68e..c549187e 100644 --- a/Docs/open-repos-folder.md +++ b/Docs/open-repos-folder.md @@ -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 diff --git a/Docs/open-snipping-tool.md b/Docs/open-snipping-tool.md index 42406439..05c7567f 100644 --- a/Docs/open-snipping-tool.md +++ b/Docs/open-snipping-tool.md @@ -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 diff --git a/Docs/open-spotify.md b/Docs/open-spotify.md index 9b0a4872..81db2c55 100644 --- a/Docs/open-spotify.md +++ b/Docs/open-spotify.md @@ -1,6 +1,6 @@ ## open-spotify.ps1 - Starts Spotify -This script starts the Spotify application. +This script launches the Spotify application. ## Parameters ```powershell diff --git a/Docs/open-system-settings.md b/Docs/open-system-settings.md index 453db6c8..b8eb962f 100644 --- a/Docs/open-system-settings.md +++ b/Docs/open-system-settings.md @@ -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 diff --git a/Docs/open-task-manager.md b/Docs/open-task-manager.md index fa7dac61..06736526 100644 --- a/Docs/open-task-manager.md +++ b/Docs/open-task-manager.md @@ -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 diff --git a/Docs/open-toggl-track.md b/Docs/open-toggl-track.md index 1cd71137..63e911f1 100644 --- a/Docs/open-toggl-track.md +++ b/Docs/open-toggl-track.md @@ -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 diff --git a/Docs/open-videos-folders.md b/Docs/open-videos-folders.md index e6f5ce32..482af2e3 100644 --- a/Docs/open-videos-folders.md +++ b/Docs/open-videos-folders.md @@ -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 diff --git a/Docs/open-wikipedia.md b/Docs/open-wikipedia.md new file mode 100644 index 00000000..5ef97ad3 --- /dev/null +++ b/Docs/open-wikipedia.md @@ -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 [] + +[] + 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* diff --git a/Docs/open-youtube.md b/Docs/open-youtube.md index 1f6a61f1..f52c27ec 100644 --- a/Docs/open-youtube.md +++ b/Docs/open-youtube.md @@ -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 diff --git a/README.md b/README.md index 104deb49..d6225d58 100644 --- a/README.md +++ b/README.md @@ -146,9 +146,10 @@ 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-youtube.ps1](Scripts/open-youtube.ps1) | Opens YouTube.com | [Help](Docs/open-youtube.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) | | [set-wallpaper.ps1](Scripts/set-wallpaper.ps1) | Sets the given image as wallpaper | [Help](Docs/set-wallpaper.md) | diff --git a/Scripts/open-amazon.ps1 b/Scripts/open-amazon.ps1 index a0101cfe..d3c43dce 100755 --- a/Scripts/open-amazon.ps1 +++ b/Scripts/open-amazon.ps1 @@ -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 diff --git a/Scripts/open-browser.ps1 b/Scripts/open-browser.ps1 index 920a824a..71e3c6a3 100755 --- a/Scripts/open-browser.ps1 +++ b/Scripts/open-browser.ps1 @@ -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 diff --git a/Scripts/open-c-drive.ps1 b/Scripts/open-c-drive.ps1 index afea33a2..05692172 100755 --- a/Scripts/open-c-drive.ps1 +++ b/Scripts/open-c-drive.ps1 @@ -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 diff --git a/Scripts/open-calculator.ps1 b/Scripts/open-calculator.ps1 index da9ec207..f879a6b6 100755 --- a/Scripts/open-calculator.ps1 +++ b/Scripts/open-calculator.ps1 @@ -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 diff --git a/Scripts/open-downloads-folder.ps1 b/Scripts/open-downloads-folder.ps1 index 5a39916c..1dad2707 100755 --- a/Scripts/open-downloads-folder.ps1 +++ b/Scripts/open-downloads-folder.ps1 @@ -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 diff --git a/Scripts/open-dropbox-folder.ps1 b/Scripts/open-dropbox-folder.ps1 index fb8beb2b..3c0601cd 100755 --- a/Scripts/open-dropbox-folder.ps1 +++ b/Scripts/open-dropbox-folder.ps1 @@ -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 diff --git a/Scripts/open-edge.ps1 b/Scripts/open-edge.ps1 index b3cbcca0..728c7f5b 100755 --- a/Scripts/open-edge.ps1 +++ b/Scripts/open-edge.ps1 @@ -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 diff --git a/Scripts/open-email-client.ps1 b/Scripts/open-email-client.ps1 index 02b10ce0..e4f9c6ab 100755 --- a/Scripts/open-email-client.ps1 +++ b/Scripts/open-email-client.ps1 @@ -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 diff --git a/Scripts/open-facebook.ps1 b/Scripts/open-facebook.ps1 index b754242f..eaa2dfac 100755 --- a/Scripts/open-facebook.ps1 +++ b/Scripts/open-facebook.ps1 @@ -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 diff --git a/Scripts/open-file-explorer.ps1 b/Scripts/open-file-explorer.ps1 index 58a0a0df..a09e2ba9 100755 --- a/Scripts/open-file-explorer.ps1 +++ b/Scripts/open-file-explorer.ps1 @@ -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 diff --git a/Scripts/open-fritz-box.ps1 b/Scripts/open-fritz-box.ps1 index 007968e9..6bad1372 100755 --- a/Scripts/open-fritz-box.ps1 +++ b/Scripts/open-fritz-box.ps1 @@ -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 diff --git a/Scripts/open-github.ps1 b/Scripts/open-github.ps1 index 8e2c8ca7..69ff00eb 100644 --- a/Scripts/open-github.ps1 +++ b/Scripts/open-github.ps1 @@ -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 diff --git a/Scripts/open-google-contacts.ps1 b/Scripts/open-google-contacts.ps1 index 2b2b1673..6dac310d 100755 --- a/Scripts/open-google-contacts.ps1 +++ b/Scripts/open-google-contacts.ps1 @@ -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 diff --git a/Scripts/open-google-earth.ps1 b/Scripts/open-google-earth.ps1 index cd7bb7ff..bbe0551f 100755 --- a/Scripts/open-google-earth.ps1 +++ b/Scripts/open-google-earth.ps1 @@ -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 diff --git a/Scripts/open-google-maps.ps1 b/Scripts/open-google-maps.ps1 index a13dd473..096796de 100755 --- a/Scripts/open-google-maps.ps1 +++ b/Scripts/open-google-maps.ps1 @@ -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 diff --git a/Scripts/open-google-news.ps1 b/Scripts/open-google-news.ps1 index f9d08f57..dc87ef14 100755 --- a/Scripts/open-google-news.ps1 +++ b/Scripts/open-google-news.ps1 @@ -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 diff --git a/Scripts/open-google-search.ps1 b/Scripts/open-google-search.ps1 index 1cb94294..1daf3670 100755 --- a/Scripts/open-google-search.ps1 +++ b/Scripts/open-google-search.ps1 @@ -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 diff --git a/Scripts/open-google-translate.ps1 b/Scripts/open-google-translate.ps1 index 6cb2271d..9c54ec2a 100755 --- a/Scripts/open-google-translate.ps1 +++ b/Scripts/open-google-translate.ps1 @@ -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 diff --git a/Scripts/open-home-folder.ps1 b/Scripts/open-home-folder.ps1 index 933964c8..272dc2a0 100755 --- a/Scripts/open-home-folder.ps1 +++ b/Scripts/open-home-folder.ps1 @@ -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 diff --git a/Scripts/open-microsoft-store.ps1 b/Scripts/open-microsoft-store.ps1 index c81cc511..f2f81465 100755 --- a/Scripts/open-microsoft-store.ps1 +++ b/Scripts/open-microsoft-store.ps1 @@ -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 diff --git a/Scripts/open-music-folder.ps1 b/Scripts/open-music-folder.ps1 index b0fc4077..8c57d4d7 100755 --- a/Scripts/open-music-folder.ps1 +++ b/Scripts/open-music-folder.ps1 @@ -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 diff --git a/Scripts/open-netflix.ps1 b/Scripts/open-netflix.ps1 index 7dda323d..4c8338f2 100755 --- a/Scripts/open-netflix.ps1 +++ b/Scripts/open-netflix.ps1 @@ -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 diff --git a/Scripts/open-notepad.ps1 b/Scripts/open-notepad.ps1 index 9ab028e8..ba900d98 100755 --- a/Scripts/open-notepad.ps1 +++ b/Scripts/open-notepad.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Starts Notepad .DESCRIPTION - This script starts Notepad. + This script launches the Notepad application. .EXAMPLE PS> ./open-notepad .NOTES diff --git a/Scripts/open-onedrive-folder.ps1 b/Scripts/open-onedrive-folder.ps1 index 3f269bca..c565416b 100755 --- a/Scripts/open-onedrive-folder.ps1 +++ b/Scripts/open-onedrive-folder.ps1 @@ -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 diff --git a/Scripts/open-pictures-folder.ps1 b/Scripts/open-pictures-folder.ps1 index c94c4199..33e37f69 100755 --- a/Scripts/open-pictures-folder.ps1 +++ b/Scripts/open-pictures-folder.ps1 @@ -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 diff --git a/Scripts/open-recycle-bin.ps1 b/Scripts/open-recycle-bin.ps1 index 0ccfbc2c..b1106f68 100755 --- a/Scripts/open-recycle-bin.ps1 +++ b/Scripts/open-recycle-bin.ps1 @@ -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 diff --git a/Scripts/open-repos-folder.ps1 b/Scripts/open-repos-folder.ps1 index a0b592a9..e17a4cbb 100755 --- a/Scripts/open-repos-folder.ps1 +++ b/Scripts/open-repos-folder.ps1 @@ -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 diff --git a/Scripts/open-snipping-tool.ps1 b/Scripts/open-snipping-tool.ps1 index 6c862ba3..1e2f8bf8 100755 --- a/Scripts/open-snipping-tool.ps1 +++ b/Scripts/open-snipping-tool.ps1 @@ -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 diff --git a/Scripts/open-spotify.ps1 b/Scripts/open-spotify.ps1 index 74008cc4..54f18f3d 100755 --- a/Scripts/open-spotify.ps1 +++ b/Scripts/open-spotify.ps1 @@ -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 diff --git a/Scripts/open-system-settings.ps1 b/Scripts/open-system-settings.ps1 index 6ccaf9a7..26a35c30 100755 --- a/Scripts/open-system-settings.ps1 +++ b/Scripts/open-system-settings.ps1 @@ -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 diff --git a/Scripts/open-task-manager.ps1 b/Scripts/open-task-manager.ps1 index 9eebfa7f..78b7471a 100755 --- a/Scripts/open-task-manager.ps1 +++ b/Scripts/open-task-manager.ps1 @@ -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 diff --git a/Scripts/open-toggl-track.ps1 b/Scripts/open-toggl-track.ps1 index 1f1a0a54..e904f63a 100755 --- a/Scripts/open-toggl-track.ps1 +++ b/Scripts/open-toggl-track.ps1 @@ -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 diff --git a/Scripts/open-videos-folders.ps1 b/Scripts/open-videos-folders.ps1 index 274b49d0..7180ae46 100755 --- a/Scripts/open-videos-folders.ps1 +++ b/Scripts/open-videos-folders.ps1 @@ -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 diff --git a/Scripts/open-wikipedia.ps1 b/Scripts/open-wikipedia.ps1 new file mode 100755 index 00000000..e2bb3e5d --- /dev/null +++ b/Scripts/open-wikipedia.ps1 @@ -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 diff --git a/Scripts/open-youtube.ps1 b/Scripts/open-youtube.ps1 index fd7297e5..bc90d7bd 100755 --- a/Scripts/open-youtube.ps1 +++ b/Scripts/open-youtube.ps1 @@ -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