Skip to content

len360/Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 Start-Applications.ps1

πŸ“– Overview

Start-Applications.ps1 is a lightweight PowerShell script that allows you to quickly launch one or more desktop applications from a single command or shortcut.

It’s particularly useful if you have a daily workflow and want to open several programs (e.g., Obsidian, Outlook, VS Code, etc.) all at once with a single click.


πŸš€ Features

  • Launches multiple applications automatically
  • Uses a configuration file (config.json) for easy customization
  • Validates each path before launching
  • Displays color-coded messages for status and errors
  • Closes automatically after successful execution

🧠 Requirements

  • Windows PowerShell 5.1 or PowerShell 7+
  • Permission to run PowerShell scripts (Execution Policy)
  • Applications you want to launch installed locally

βš™οΈ Setup

1. Clone or download this repository

git clone https://github.com/len360/Scripts.git

2. Create your configuration file

Create a file named config.json in the same folder as the script.

Example:

{
  "applications": [
    "C:\\Users\\Lenny\\AppData\\Local\\Programs\\obsidian\\Obsidian.exe",
    "C:\\Program Files\\Microsoft Office\\root\\Office16\\OUTLOOK.EXE"
  ]
}

πŸ’‘ Do not commit this file to Git β€” it contains your personal paths. Add it to your .gitignore:

config.json

▢️ Usage

You can run the script directly from PowerShell:

powershell.exe -ExecutionPolicy Bypass -File "C:\Path\To\Start-Applications.ps1"

Or create a desktop shortcut that points to:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -File "C:\Path\To\Start-Applications.ps1"

This allows you to start all your favorite applications silently with one double-click.


🧩 Example Output

πŸš€ Launching: Obsidian.exe
πŸš€ Launching: OUTLOOK.EXE

βœ… Script execution completed.

About

Repository used for my personal scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors