1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-03-28 07:38:38 +01:00

Add show-edge-manual.ps1 and show-firefox-manual.ps1

This commit is contained in:
Markus Fleschutz 2021-11-29 15:47:22 +01:00
parent 79537aa0b7
commit 8ce77eb59c
3 changed files with 31 additions and 1 deletions

View File

@ -83,7 +83,7 @@ Computer, play `name` game
Computer, show `name` manual
----------------------------
* launches the default Web browser with the given manual.
* replace `name` by: "Chrome", "PowerShell", or "Serenade".
* replace `name` by: "Chrome", "Edge", "Firefox", "PowerShell", or "Serenade".
* when finished use: *Close tab* or: "Computer, close `name` browser" to close the Web browser.

15
Scripts/show-edge-manual.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows the Microsoft Edge manual
.DESCRIPTION
This script launches the Web browser with the Microsoft Edge manual.
.EXAMPLE
PS> ./show-edge-manual
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://docs.microsoft.com/en-us/microsoft-edge/"
exit 0 # success

15
Scripts/show-firefox-manual.ps1 Executable file
View File

@ -0,0 +1,15 @@
<#
.SYNOPSIS
Shows the Firefox manual
.DESCRIPTION
This script launches the Web browser with the Firefox manual.
.EXAMPLE
PS> ./show-firefox-manual
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://support.mozilla.org/en-US/products/firefox"
exit 0 # success