Skip to content

Commit dc2f4fd

Browse files
committed
Updated write-help.ps1
1 parent 47ec40d commit dc2f4fd

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

scripts/write-help.ps1

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<#
22
.SYNOPSIS
3-
Provide help to the user
3+
Writes a help page
44
.DESCRIPTION
5-
This PowerShell script launches new tabs in the Web browser with help pages.
5+
This PowerShell script writes a help page to help the user.
66
.EXAMPLE
7-
PS> ./open-help.ps1
7+
PS> ./write-help.ps1
88
.LINK
99
https://github.com/fleschutz/PowerShell
1010
.NOTES
@@ -16,7 +16,6 @@ function Line ([string]$line) {
1616
}
1717

1818
try {
19-
""
2019
Line "█████████████████████████████████████"
2120
Line "█████████████████████████████████████"
2221
Line "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████ POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) edition"
@@ -25,18 +24,17 @@ try {
2524
Line "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████"
2625
Line "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████ Tutorial: https://www.guru99.com/powershell-tutorial.html"
2726
Line "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████"
28-
Line "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████ FAQ's: https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md"
27+
Line "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████ 500+ Sample Scripts: https://github.com/fleschutz/PowerShell"
2928
Line "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████"
30-
Line "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████ Cheat Sheet: https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md"
29+
Line "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████ FAQ's: https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md"
3130
Line "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████"
32-
Line "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████ NOTE: Use <Ctrl> + <Click> to open the links in your browser."
31+
Line "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████ Cheat Sheet: https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md"
3332
Line "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████"
34-
Line "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████"
33+
Line "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████ NOTE: Use <Ctrl> + <Click> to open the links in your browser."
3534
Line "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████"
3635
Line "████▄▄▄▄▄▄▄█▄▄█▄▄████▄▄▄██▄▄▄█▄██████"
3736
Line "█████████████████████████████████████"
3837
Line "█████████████████████████████████████"
39-
""
4038
exit 0 # success
4139
} catch {
4240
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

0 commit comments

Comments
 (0)