PowerShell/scripts/open-help.ps1

14 lines
582 B
PowerShell
Raw Normal View History

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