Update open-dashboards.ps1

This commit is contained in:
Markus Fleschutz 2023-09-26 07:31:35 +02:00
parent 0fc5c2ca4a
commit 63aead20f9

View File

@ -5,7 +5,7 @@
This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites. This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites.
.EXAMPLE .EXAMPLE
PS> ./open-dashboards.ps1 PS> ./open-dashboards.ps1
Launching Web browser with 20 tabs showing: Toggl Track, Google Calendar, Google Mail, Google Keep, Google Photos, Google News, Outlook Mail, CNN News, GitHub Explore, FlightRadar24, Earthquake Watch, Live Cyber Threat Map, Live Traffic, Netflix Top 10, YouTube Music Charts, Webcams, Peak Zugspitze, Airport Salzburg, Windy Weather Radar, Windy Weather Temperatures, (Hint: execute './switch-tabs.ps1' for automated tab switching) Launching Web browser with these 20 tabs: Toggl Track, Google Calendar, Google Mail, Google Keep, Google Photos, Google News, Outlook Mail, CNN News, GitHub Explore, FlightRadar24, Earthquake Watch, Live Cyber Threat Map, Live Traffic, Netflix Top 10, YouTube Music Charts, Webcams, Peak Zugspitze, Airport Salzburg, Windy Weather Radar, Windy Weather Temperatures, (Hint: execute './switch-tabs.ps1' for automated tab switching)
... ...
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
@ -18,7 +18,7 @@ try {
$table = Import-CSV "$PSScriptRoot/../Data/popular-dashboards.csv" $table = Import-CSV "$PSScriptRoot/../Data/popular-dashboards.csv"
$numRows = $table.Length $numRows = $table.Length
Write-Progress -completed "." Write-Progress -completed "."
Write-Host "✅ Launching Web browser with 20 tabs showing: " -noNewline Write-Host "✅ Launching Web browser with these 20 tabs: " -noNewline
foreach($row in $table) { foreach($row in $table) {
Write-Host "$($row.NAME), " -noNewline Write-Host "$($row.NAME), " -noNewline
& "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)" & "$PSScriptRoot/open-default-browser.ps1" "$($row.URL)"