Add 'fetch-repos.ps1' to on-desktop-login.ps1

This commit is contained in:
Markus Fleschutz 2023-09-20 08:25:51 +02:00
parent a217faecee
commit 791771e308

View File

@ -1,9 +1,9 @@
<# <#
.SYNOPSIS .SYNOPSIS
Executes scripts on desktop login Executes tasks on desktop login
.DESCRIPTION .DESCRIPTION
This PowerShell script executes welcome scripts on every desktop user login. This PowerShell script executes welcome scripts on every desktop user login. On Windows create and put a symbolic link to this
Just put a symbolic link to this script into the Autostart folder (usually at: C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup). script into the Autostart folder (usually at: C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup).
.EXAMPLE .EXAMPLE
PS> ./on-desktop-login.ps1 PS> ./on-desktop-login.ps1
.LINK .LINK
@ -13,10 +13,15 @@
#> #>
try { try {
& "$PSScriptRoot/open-dashboards.ps1"
" "
& "$PSScriptRoot/write-quote.ps1" & "$PSScriptRoot/write-quote.ps1"
" " " "
& "$PSScriptRoot/open-dashboards.ps1"
& "$PSScriptRoot/list-news.ps1" & "$PSScriptRoot/list-news.ps1"
" "
& "$PSScriptRoot/cd-repos.ps1"
& "$PSScriptRoot/fetch-repos.ps1"
" "
& "$PSScriptRoot/write-clock.ps1" & "$PSScriptRoot/write-clock.ps1"
exit 0 # success exit 0 # success
} catch { } catch {