mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-26 14:26:10 +01:00
Updated write-help.ps1
This commit is contained in:
parent
f9821a542b
commit
47ec40d737
@ -16,19 +16,20 @@ function Line ([string]$line) {
|
||||
}
|
||||
|
||||
try {
|
||||
""
|
||||
Line "█████████████████████████████████████"
|
||||
Line "█████████████████████████████████████"
|
||||
Line "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████"
|
||||
Line "████ ▄▄▄▄▄ █▀ █▀▀█▀▀ ▄▄██ ▄▄▄▄▄ ████ POWERSHELL $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition) edition"
|
||||
Line "████ █ █ █▀ ▄ █▀ ▀ ▀▄█ █ █ █ ████"
|
||||
Line "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████"
|
||||
Line "████ █▄▄▄█ █▀█ █▄▀▄▀ ▀ ▄▄█ █▄▄▄█ ████ Documentation: https://docs.microsoft.com/en-us/powershell"
|
||||
Line "████▄▄▄▄▄▄▄█▄█▄█ █▄█ █▄▀ █▄▄▄▄▄▄▄████"
|
||||
Line "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████"
|
||||
Line "████▄▄ ▄█▄▄ ▄█▄▄ █▀ ▀▀▀ ▀▄▀▄█▄▀████ Tutorial: https://www.guru99.com/powershell-tutorial.html"
|
||||
Line "████▀▄▄█▀█▄██ ▀ ▄▄▀ █▄█▀ ▀ ▄▀▀█▀█████"
|
||||
Line "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████"
|
||||
Line "█████ ▄▄█▄▄▀▄ ▀▄▀ ▄▄ ▀ ▀▀▀ ▀▄▄█▀████ FAQ's: https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md"
|
||||
Line "████▄ ▀ ▄ ▄▄█ █▀██▄ ██▀▄█▄▄▀▄▄▀█████"
|
||||
Line "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████"
|
||||
Line "████ ████▄▄ ▄█▄▄▄██ ▀ ▀▀▀▀▄ █▀████ Cheat Sheet: https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md"
|
||||
Line "████ ███▄ ▄▀▀██ ▄█ ▄▄▄█▀ ▄▄ ██▄▀█████"
|
||||
Line "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████"
|
||||
Line "████▄█▄███▄▄▀▄▄▄▀ ▄▄ ▄▀▄ ▄▄▄ ▀ ████ NOTE: Use <Ctrl> + <Click> to open the links in your browser."
|
||||
Line "████ ▄▄▄▄▄ █▄▄▄█▀█▄ ██ █▄█ ▄▄█▀████"
|
||||
Line "████ █ █ █ ▀▄█▄ ▄▄ ▀█ ▄▄▄▄▀ ████"
|
||||
Line "████ █▄▄▄█ █ ██ ▄█▄ ▄▀▀▀ ▄▄ ▄ █████"
|
||||
@ -36,21 +37,8 @@ try {
|
||||
Line "█████████████████████████████████████"
|
||||
Line "█████████████████████████████████████"
|
||||
""
|
||||
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
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user