mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-28 20:58:46 +02:00
Update on-desktop-login.ps1
This commit is contained in:
parent
9c86de8499
commit
23c3ed729d
@ -2,7 +2,7 @@
|
|||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Executes tasks on desktop login
|
Executes tasks on desktop login
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script executes useful tasks on every desktop login by the user (e.g. open Web dashboards, list the news, fetch repos).
|
This PowerShell script executes some 'welcome' tasks on every user's desktop login.
|
||||||
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).
|
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
|
.EXAMPLE
|
||||||
PS> ./on-desktop-login.ps1
|
PS> ./on-desktop-login.ps1
|
||||||
@ -15,6 +15,11 @@
|
|||||||
try {
|
try {
|
||||||
& "$PSScriptRoot/write-big.ps1" "Welcome back"
|
& "$PSScriptRoot/write-big.ps1" "Welcome back"
|
||||||
" "
|
" "
|
||||||
|
& "$PSScriptRoot/check-uptime.ps1"
|
||||||
|
& "$PSScriptRoot/check-firewall.ps1"
|
||||||
|
& "$PSScriptRoot/check-swap-space.ps1"
|
||||||
|
& "$PSScriptRoot/check-drives.ps1"
|
||||||
|
& "$PSScriptRoot/check-pending-reboot.ps1"
|
||||||
& "$PSScriptRoot/open-dashboards.ps1"
|
& "$PSScriptRoot/open-dashboards.ps1"
|
||||||
" "
|
" "
|
||||||
& "$PSScriptRoot/write-quote.ps1"
|
& "$PSScriptRoot/write-quote.ps1"
|
||||||
|
Loading…
Reference in New Issue
Block a user