mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-26 08:38:51 +01:00
Add write-joke.ps1 to on-desktop-login.ps1
This commit is contained in:
parent
8c8bfd7ee7
commit
0fc5c2ca4a
@ -2,8 +2,8 @@
|
||||
.SYNOPSIS
|
||||
Executes tasks on desktop login
|
||||
.DESCRIPTION
|
||||
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).
|
||||
This PowerShell script executes useful tasks on every desktop login by the user (e.g. open Web dashboards, list the news, fetch repos).
|
||||
NOTE: For installation 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
|
||||
@ -19,6 +19,8 @@ try {
|
||||
" "
|
||||
& "$PSScriptRoot/list-news.ps1"
|
||||
" "
|
||||
& "$PSScriptRoot/write-joke.ps1"
|
||||
" "
|
||||
& "$PSScriptRoot/cd-repos.ps1"
|
||||
& "$PSScriptRoot/fetch-repos.ps1"
|
||||
" "
|
||||
|
Loading…
Reference in New Issue
Block a user