Morning script (for Windows PowerShell)

#
# Good morning for XX scirpt
#
# Author:  Anton Teterin
# web:     InstallAndUse.com
# History: + 2023-06-13
#          - 2026-08-06  trimmed, scrambled /A
#


## load task manager
#Start-Process %windir%\system32\taskmgr.exe /7
Start-Process taskmgr.exe "/7"


## reload ipconfig
Start-Process ipconfig "/renew"


## updates
Start-Process wsl "echo 'WSL update:'; sudo /usr/bin/apt update; sudo /usr/bin/apt -y upgrade"


## open VPN
Start-Process -WorkingDirectory "C:\Program Files\SoftEther VPN Client\" vpncmgr_x64.exe
Write-Host -NoNewLine 'Connect and Press [enter] key to continue...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');


## cloud storage
Start-Process -WorkingDirectory "C:\Program Files\Nextcloud\" nextcloud.exe


## update and open keepass (before browsers)
Start-Process wsl "echo 'DuckDNS: A update'; /mnt/c/Users/Anton-w/xxxx/xx/clients/xxxx/tech/scripts/duck.sh;       echo 'DynDNS update requested.'; pause"

## pull repos
Start-Process wsl "echo 'updating repos...'; /mnt/c/Users/Anton-w/xxxx/xx/clients/xxx/tech/scripts/pull_repos.sh; echo 'Repos updated.'"


# opening pass kpDB
Start-Process -WorkingDirectory "C:\Program Files\KeePassXC\" KeePassXC.exe "path-to-kp\xxx.kdbx --keyfile C:\Users(path-to-key)\xx.kdbx.key"
Write-Host -NoNewLine 'Open main DB and Press [enter] key to continue...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');


## unlock password database
Write-Host -NoNewLine 'Please, unlock password database now...';
$null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');


## libraries
Start-Process -WorkingDirectory "C:\Program Files\Mozilla Firefox\" firefox.exe "--new-window https://mybook.ru"
# Start-Process -WorkingDirectory "C:\Users\anton\AppData\Local\Amazon\Kindle\application\" Kindle.exe
# Start-Process -WorkingDirectory "C:\Program Files (x86)\Calibre2\" calibre.exe


## dashboards
Start-Process -WorkingDirectory "C:\Program Files\Mozilla Firefox\" firefox.exe "--new-window https://dashboard/"


## tasklists
Start-Process -WorkingDirectory "C:\Program Files (x86)\MyLifeOrganized.net\MLO\" mlo.exe C:\Users\(path to MLO)\MLO\xx.ml


## messengers
# Start-Process -WorkingDirectory "C:\Users\anton-w\AppData\Roaming\Telegram Desktop\" Telegram.exe
# Start-Process -WorkingDirectory "C:\Users\Anton-w\AppData\Local\Programs\signal-desktop\" Signal.exe
# Start-Process -WorkingDirectory "C:\Users\anton-w\AppData\Roaming\Zoom\bin\" Zoom.exe
Start-Process -WorkingDirectory "C:\Program Files (x86)\Mumble\" mumble.exe
Start-Process -WorkingDirectory "C:\Users\anton-w\AppData\Local\slack\" slack.exe
# Start-Process -WorkingDirectory "C:\Program Files (x86)\Cisco Systems\Cisco Jabber\" CiscoJabber.exe


## mail
Start-Process -WorkingDirectory "C:\Program Files\Mozilla Thunderbird\" thunderbird.exe


## music
# Start-Process -WorkingDirectory "C:\Users\anton-w\AppData\Roaming\Spotify\" Spotify.exe
# Start-Process -WorkingDirectory "C:\Program Files (x86)\AIMP\" AIMP.exe
# Start-Process -WorkingDirectory "C:\Program Files (x86)\Bome MIDI Translator Pro\" MIDITranslator.exe "/project 'C:\Users\anton\dox-pvt\tech\midi\BOME MTP - profiles\2020 09 11 - home with mini.bmtp'"


## utilities
Start-Process -FilePath "C:\Users\Anton-w\Downloads-w\crosshair_v1_15\crosshair.exe"
##Start-Process -WorkingDirectory "C:\Users\anton\AppData\Local\atom" atom.exe
Start-Process -FilePath "C:\Program Files\Far Manager\Far.exe"
Start-Process -WorkingDirectory "C:\Program Files\GitAhead\" GitAhead.exe



Revision #2
Created 6 August 2026 09:56:24 by Anton
Updated 6 August 2026 11:02:28 by Anton