mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-13 13:38:17 +02:00
Update on-desktop-login.ps1
This commit is contained in:
parent
7055e9fef5
commit
94e7ea7669
@ -1,8 +1,9 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Executes tasks on desktop login
|
Executes scripts on desktop login
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script executes tasks on every desktop login.
|
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).
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./on-desktop-login.ps1
|
PS> ./on-desktop-login.ps1
|
||||||
.LINK
|
.LINK
|
||||||
@ -12,6 +13,8 @@
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
& "$PSScriptRoot/write-quote.ps1"
|
||||||
|
" "
|
||||||
& "$PSScriptRoot/open-dashboards.ps1"
|
& "$PSScriptRoot/open-dashboards.ps1"
|
||||||
& "$PSScriptRoot/list-news.ps1"
|
& "$PSScriptRoot/list-news.ps1"
|
||||||
& "$PSScriptRoot/write-clock.ps1"
|
& "$PSScriptRoot/write-clock.ps1"
|
||||||
|
Loading…
Reference in New Issue
Block a user