PowerShell/README.md

22 KiB

Mega Collection of PowerShell Scripts

This repository provides more than 200 useful and cross-platform PowerShell scripts in the Scripts subfolder - to be used by command-line interface (CLI), for remote control (e.g. via SSH), by context menu, by voice control, by automation software like Jenkins, automatically as daily tasks, or simply to learn PowerShell. See the PowerShell FAQ page if you need help or have any questions.

Note: the PowerShell scripts support Unicode I/O. It's recommended to use a modern console supporting UTF-8 such as Windows Terminal.

🔊 Scripts for Audio & Voice

⚙️ Scripts for Computer Management

💻 Scripts for the Desktop

📁 Scripts for Files & Folders

📝 Scripts for Git

  • cherry-picker.ps1 - cherry-picks a Git commit into multiple branches
  • clean-repo.ps1 - cleans the current/given Git repository from untracked files (including submodules)
  • clean-repos.ps1 - cleans all Git repositories under the current/given directory from untracked files (including submodules)
  • clone-repos.ps1 - clones well-known Git repositories
  • configure-git.ps1 - sets up the Git user configuration
  • create-branch.ps1 - creates a new branch in the current/given Git repository
  • create-tag.ps1 - creates a new tag in the current/given Git repository
  • fetch-repo.ps1 - fetches updates for the current/given Git repository (including submodules)
  • fetch-repos.ps1 - fetches updates for all Git repositories under the current/given directory (including submodules)
  • list-branches.ps1 - lists all branches in the current/given Git repository
  • list-commits.ps1 - lists all commits in the current/given Git repository
  • list-latest-tag.ps1 - lists the latest tag on the current branch in a Git repository
  • list-submodules.ps1 - lists the submodules of the current/given Git repository
  • list-tags.ps1 - lists all tags in the current/given Git repository
  • make-repo.ps1 - builds the current/given Git repository
  • make-repos.ps1 - builds all Git repositories under the current/given directory
  • pull-repo.ps1 - pulls updates for the current/given Git repository (including submodules)
  • pull-repos.ps1 - pulls updates for all Git repositories under the current/given directory (including submodules)
  • switch-branch.ps1 - switches the branch in the current/given Git repository (including submodules)
  • sync-repo.ps1 - synchronizes a Git repository by push & pull (including submodules)

🔎 Scripts for PowerShell

🛒 Various PowerShell Scripts

Feedback

Send your email feedback to: markus [at] fleschutz [dot] de

This open source release is licensed under the CC0 license. All trademarks are the property of their respective owners.