mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-05 16:14:42 +02:00
Merge branch 'main' of github.com:fleschutz/PowerShell
This commit is contained in:
commit
7d247e379f
@ -7,6 +7,7 @@ NAME,URL,
|
|||||||
"Google News","https://news.google.com",
|
"Google News","https://news.google.com",
|
||||||
"Google Tasks","https://tasks.google.com/tasks/",
|
"Google Tasks","https://tasks.google.com/tasks/",
|
||||||
"Outlook Mail","https://outlook.office.com/mail/",
|
"Outlook Mail","https://outlook.office.com/mail/",
|
||||||
|
"Microsoft Teams","https://teams.microsoft.com/v2/",
|
||||||
"CNN News","https://edition.cnn.com",
|
"CNN News","https://edition.cnn.com",
|
||||||
"GitHub Explore","https://github.com/explore",
|
"GitHub Explore","https://github.com/explore",
|
||||||
"FlightRadar24","https://www.flightradar24.com/27.63,-6.98/3",
|
"FlightRadar24","https://www.flightradar24.com/27.63,-6.98/3",
|
||||||
|
|
@ -1,13 +1,13 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Open 20 web dashboards
|
Open Web dashboards
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script launches the Web browser with 20 tabs of popular dashboard websites.
|
This PowerShell script launches the Web browser with 24 tabs of popular dashboard websites.
|
||||||
.PARAMETER timeInterval
|
.PARAMETER timeInterval
|
||||||
Specifies the time interval between each tab (110ms per default)
|
Specifies the time interval between each tab (110ms per default)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./open-dashboards.ps1
|
PS> ./open-dashboards.ps1
|
||||||
✅ Launching Web browser with 20 tabs: Toggl Track•Google Calendar•Google Mail, ...
|
✅ Launching Web browser with 24 tabs: Toggl Track•Google Calendar•Google Mail, ...
|
||||||
NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically.
|
NOTE: Execute './switch-tabs.ps1' to switch from tab to tab automatically.
|
||||||
...
|
...
|
||||||
.LINK
|
.LINK
|
||||||
@ -23,7 +23,7 @@ try {
|
|||||||
$table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv"
|
$table = Import-CSV "$PSScriptRoot/../data/popular-dashboards.csv"
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
|
|
||||||
Write-Host "✅ Launching Web browser with 20 tabs: " -noNewline
|
Write-Host "✅ Launching Web browser with $($table.Count) 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)"
|
||||||
|
Loading…
Reference in New Issue
Block a user