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