A collection of PowerShell scripts to simplify CLI workflows and automate common development tasks.
C:\Users\Manuel Morales\Repos\PowerShell\
├── alias/
│ ├── curl.ps1
│ └── git.ps1
├── docs/
│ ├── aliases.md
│ ├── files.md
│ ├── git.md
│ ├── programs.md
│ └── windows.md
├── scripts/
│ ├── files.ps1
│ ├── git.ps1
│ ├── programs.ps1
│ └── windows.ps1
├── README.md
└── .vscode/
└── settings.json
Detailed documentation for each function category can be found in the docs/ folder:
- Git Utilities - Repository initialization, commits, and resets.
- Windows Utilities - System cleanup, icon cache resets, and hardware summaries.
- File Utilities - Exclude-based recursive copying and other file management tasks.
- Programs Utilities - Launching Vim from a Git-for-Windows path and other program shortcuts.
- Aliases - Override default native behaviors (curl) and shorten standard workflows (git).
In addition to the main scripts, this repository includes an alias/ folder with standalone alias definitions. These are intended for quick keyboard shortcuts to the functions or common Git commands.
Example: gco for Invoke-GitCheckoutRemote.
To use them, dot-source them in your profile or session:
. ./alias/git.ps1
. ./alias/curl.ps1- Clone this repository
- Source the script you need:
. ./scripts/git.ps1
- Run the functions directly in your PowerShell session
To make these functions available in every PowerShell session from any directory:
-
Open your PowerShell profile:
notepad $PROFILEIf the file doesn't exist, create it first:
if (!(Test-Path $PROFILE)) { New-Item -Path $PROFILE -ItemType File -Force }
-
Add this line to the profile file:
. "C:\Users\Manuel Morales\Repos\PowerShell\scripts\git.ps1" . "C:\Users\Manuel Morales\Repos\PowerShell\scripts\windows.ps1"
-
Save and restart PowerShell
Now all functions from both git.ps1 and windows.ps1 will work from any folder without sourcing.
This repository will grow to include:
- Docker utilities — Quick stack deployments, container management helpers
- Dev environment setup — Automated tool installations and configurations
- Cloud CLI wrappers — Simplified commands for AWS, Azure, GCP
- Build & deploy scripts — CI/CD automation helpers
- Any other repetitive tasks — Converting multi-step CLI operations into single commands
- PowerShell 5.1 or later
- Git (for git.ps1 functions)