mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Renamed to write-help.ps1
This commit is contained in:
47
scripts/write-help.ps1
Executable file
47
scripts/write-help.ps1
Executable file
@ -0,0 +1,47 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Provide help to the user
|
||||
.DESCRIPTION
|
||||
This PowerShell script launches new tabs in the Web browser with help pages.
|
||||
.EXAMPLE
|
||||
PS> ./open-help.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
""
|
||||
Write-Host " " -foregroundColor black -backgroundColor white
|
||||
Write-Host " ▄▄▄▄▄▄▄ ▄ ▄▄▄ ▄▄▄▄▄▄▄ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " █ ▄▄▄ █ ▄▄▀█ █ ▄▄▄ █ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " █ ███ █ █▀ ▄▀ █ ███ █ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " █▄▄▄▄▄█ ▄▀█▀█ █▄▄▄▄▄█ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " ▄▄▄▄ ▄ ▄▄▄██▄ ▄▄▄ ▄ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " ▀ █ ▀▄▄▀█▀▀█▀█▀█▀▀▀▄█ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " ▄▄██▀▀▄▄█ ▄▀▄▄▄▀ ▀ ▀▄ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " ▄▄▄▄▄▄▄ ▀▀██▄▄██▄ ▀ ▀ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " █ ▄▄▄ █ ▀▄ ▄▀ ▀ ██▀▀ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " █ ███ █ █▄ ▄ ▀▄ ▀█▀ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " █▄▄▄▄▄█ █▀▄█ ███▀ ▄ ▀ " -foregroundColor black -backgroundColor white
|
||||
Write-Host " " -foregroundColor black -backgroundColor white
|
||||
""
|
||||
Write-Host " 🔷 PowerShell documentation: " -noNewline
|
||||
Write-Host "https://docs.microsoft.com/en-us/powershell" -foregroundColor blue
|
||||
|
||||
Write-Host " 🔷 PowerShell tutorial: " -noNewline
|
||||
Write-Host "https://www.guru99.com/powershell-tutorial.html" -foregroundColor blue
|
||||
|
||||
Write-Host " 🔷 PowerShell FAQ's: " -noNewline
|
||||
Write-Host "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md" -foregroundColor blue
|
||||
|
||||
Write-Host " 🔷 PowerShell Cheat Sheet: " -noNewline
|
||||
Write-Host "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md" -foregroundColor blue
|
||||
""
|
||||
"NOTE: Use <Ctrl> + <Click> to open the links in your browser."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
Reference in New Issue
Block a user