mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-22 07:53:21 +01:00
Update on-desktop-login.ps1
This commit is contained in:
parent
9c86de8499
commit
23c3ed729d
@ -2,7 +2,7 @@
|
||||
.SYNOPSIS
|
||||
Executes tasks on desktop login
|
||||
.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).
|
||||
.EXAMPLE
|
||||
PS> ./on-desktop-login.ps1
|
||||
@ -15,6 +15,11 @@
|
||||
try {
|
||||
& "$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/write-quote.ps1"
|
||||
|
Loading…
Reference in New Issue
Block a user