Add show-azure-manual.ps1 and show-windows-manual.ps1

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

View File

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

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

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

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

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