500+ PowerShell scripts (.ps1) for every system!
Go to file
2021-08-29 16:04:25 +02:00
Data Add subfolder Docs 2021-08-29 12:20:37 +02:00
Docs Rename the docs file 2021-08-29 12:53:35 +02:00
Scripts Update convert-ps2md.ps1 2021-08-29 15:42:40 +02:00
LICENSE Initial commit 2020-04-30 17:49:27 +02:00
README.md Update README.md 2021-08-29 16:04:25 +02:00

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 scripts fully support Unicode I/O. It's recommended to use a modern console supporting UTF-8 (e.g. Windows Terminal).

🔊 Scripts for Audio & Voice

Script Description Documentation
mute-audio.ps1 mutes the audio device Manual
list-voices.ps1 lists the installed text-to-speech (TTS) voices Manual
play-beep.ps1 plays a beep sound Manual
play-files.ps1 plays the given audio files Manual
play-happy-birthday.ps1 plays the Happy Birthday song Manual
play-imperial-march.ps1 plays the Imperial March (Star Wars) Manual
play-jingle-bells.ps1 plays Jingle Bells Manual
play-mission-impossible.ps1 plays the Mission Impossible theme Manual
play-m3u.ps1 plays the given playlist (M3U file format) Manual
play-mp3.ps1 plays the given sound file (MP3 file format) Manual
play-super-mario.ps1 plays the Super Mario Intro Manual
play-tetris-melody.ps1 plays the Tetris melody Manual
speak-checklist.ps1 speaks the given checklist by text-to-speech (TTS) Manual
speak-countdown.ps1 starts a countdown by text-to-speech (TTS) Manual
speak-date.ps1 speaks the current date by text-to-speech (TTS) Manual
speak-english.ps1 speaks the given text with an English text-to-speech (TTS) voice Manual
speak-epub.ps1 speaks the content of the given Epub file by text-to-speech (TTS) Manual
speak-file.ps1 speaks the content of the given text file by text-to-speech (TTS) Manual
speak-french.ps1 speaks the given text with a French text-to-speech (TTS) voice Manual
speak-german.ps1 speaks the given text with a German text-to-speech (TTS) voice Manual
speak-italian.ps1 speaks the given text with an Italian text-to-speech (TTS) voice Manual
speak-joke.ps1 speaks a random Chuck Norris joke by text-to-speech (TTS) Manual
speak-quote.ps1 speaks a random quote by text-to-speech (TTS) Manual
speak-spanish.ps1 speaks the given text with a Spanish text-to-speech (TTS) voice Manual
speak-test.ps1 performs a speak test by text-to-speech (TTS) Manual
speak-text.ps1 speaks the given text by text-to-speech (TTS) Manual
speak-time.ps1 speaks the current time by text-to-speech (TTS) Manual
turn-volume-up.ps1 turns the audio volume up (+10% by default) Manual
turn-volume-down.ps1 turns the audio volume down (-10% by default) Manual
unmute-audio.ps1 unmutes the audio device Manual
voice-control.ps1 executes the PowerShell scripts by voice Manual

⚙️ Scripts for Computer Management

💻 Scripts for the Desktop

📁 Scripts for Files & Folders

♻️ Scripts to Convert Files

Script Description Documentation
convert-csv2txt.ps1 converts a given .CSV file to a text file Manual
convert-mysql2csv.ps1 converts a MySQL database table to a .CSV file Manual
convert-ps2bat.ps1 converts a PowerShell script to a .BAT file Manual
convert-ps2md.ps1 converts the comment-based help of a PowerShell script to Markdown Manual
convert-sql2csv.ps1 converts a SQL database table to a .CSV file Manual
convert-txt2wav.ps1 converts a text file to a .WAV audio file Manual

📝 Scripts for Git

Script Description Documentation
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-latest-tags.ps1 lists the latests tags in all Git repositories under the current/given directory
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

Script Description Documentation
daily-tasks.sh execute PowerShell scripts automatically as daily tasks (Linux only) Manual
introduce-powershell.ps1 introduces PowerShell to new users Manual
list-aliases.ps1 lists all PowerShell aliases Manual
list-automatic-variables.ps1 lists the automatic variables of PowerShell Manual
list-cheat-sheet.ps1 lists the PowerShell cheat sheet Manual
list-cmdlets.ps1 lists the PowerShell cmdlets Manual
list-console-colors.ps1 lists all console colors Manual
list-modules.ps1 lists the PowerShell modules Manual
list-profiles.ps1 lists your PowerShell profiles Manual
list-scripts.ps1 lists all PowerShell scripts in this repository Manual
set-profile.ps1 updates your PowerShell user profile Manual
template.ps1 copy this template PowerShell script to write a new one Manual

🛒 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.