PowerShell/scripts/open-help.ps1
2024-05-29 18:13:34 +02:00

14 lines
582 B
PowerShell

try {
& "$PSScriptRoot/open-URL.ps1" "https://docs.microsoft.com/en-us/powershell"
Start-Sleep -milliseconds 100
& "$PSScriptRoot/open-URL.ps1" "https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md"
Start-Sleep -milliseconds 100
& "$PSScriptRoot/open-URL.ps1" "https://github.com/fleschutz/PowerShell/blob/main/docs/cheat-sheet.md"
& "$PSScriptRoot/write-typewriter.ps1" "DON'T PANIC and check the new brower tabs..."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}