mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 12:34:25 +01:00
32 lines
1.3 KiB
PowerShell
32 lines
1.3 KiB
PowerShell
<#
|
|
.SYNOPSIS
|
|
Open dashboards
|
|
.DESCRIPTION
|
|
This PowerShell script launches the Web browser with some dashboard websites.
|
|
.EXAMPLE
|
|
PS> ./open-dashboards
|
|
.LINK
|
|
https://github.com/fleschutz/PowerShell
|
|
.NOTES
|
|
Author: Markus Fleschutz | License: CC0
|
|
#>
|
|
|
|
try {
|
|
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://track.toggl.com/timer
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://news.google.com
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://www.windy.com/de/-Wetterradar-radar
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://www.arcgis.com/apps/dashboards/c8af9c5411814584b460cc87cb7c3780
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://radio.garden/visit/kempten/V5Ryr1S4
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://www.foto-webcam.eu/
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://sunnyportal.com/FixedPages/Dashboard.aspx
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://covid19.who.int/
|
|
& "$PSScriptRoot/open-default-browser.ps1" https://top10.netflix.com/
|
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
|
"✅ Opened 9 dashboards as browser tabs in $elapsed sec (use switch-tabs.ps1 to switch the tabs automatically)"
|
|
exit 0 # success
|
|
} catch {
|
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
exit 1
|
|
}
|