PowerShell/README.md
2021-05-02 11:38:19 +02:00

20 KiB

Mega Collection of PowerShell Scripts

This repository provides more than 200 useful and cross-platform PowerShell scripts in the subfolder Scripts/ - 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 scripts support Unicode input & output! Please use a modern console supporting UTF-8 such as Windows Terminal

🔊 PowerShell Scripts for Audio & Voice

⚙️ PowerShell Scripts for Computer Management

💻 PowerShell Scripts for the Desktop

📁 PowerShell Scripts for Files & Folders

📝 PowerShell Scripts for Git

  • build-repo.ps1 - builds the current/given Git repository
  • build-repos.ps1 - builds all Git repositories under the current/given directory
  • 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)
  • 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-tags.ps1 - lists all tags in the current/given Git repository
  • 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.