PowerShell
600+ free PowerShell scripts (.ps1) for Linux, macOS, and Windows.
Install / Use
/learn @fleschutz/PowerShellREADME
Mega Collection of PowerShell Scripts
Contains 600+ free and stand-alone PowerShell scripts for Linux, macOS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (e.g. on startup/shutdown/login/logoff/daily/hourly or via AutoHotkey/GUI/Jenkins/voice commands), for context menus, or simply to learn PowerShell. All scripts are located in the 📁scripts subfolder and support Unicode for a modern console like Windows Terminal.
Download | PowerShell FAQ | PowerShell Cheat Sheet | PowerShell Documentation
🔊 Scripts for Audio & Voice
| Script | Description | | ---------------------------------------------------- | ----------------------------------------------------------------------------------------- | | list-voices.ps1 | Lists the installed text-to-speech voices. Read more » | | play-beep-sound.ps1 | Plays a short beep sound. More » | | play-files.ps1 | Plays the given audio files. More » | | play-happy-birthday.ps1 | Plays the Happy Birthday song. More » | | play-imperial-march.ps1 | Plays the Imperial March (Star Wars). More » | | play-jingle-bells.ps1 | Plays Jingle Bells. More » | | play-mission-impossible.ps1 | Plays the Mission Impossible theme. More »| | play-m3u.ps1 | Plays the given M3U playlist. More » | | play-mp3.ps1 | Plays the given MP3 sound file. More » | | play-super-mario.ps1 | Plays the Super Mario intro. More » | | play-tetris-melody.ps1 | Plays the Tetris melody. More » | | speak-checklist.ps1 | Speaks the given checklist by text-to-speech. More » | | speak-countdown.ps1 | Speaks a countdown by text-to-speech. More » | | speak-english.ps1 | Speaks text with an English text-to-speech voice. More » | | speak-epub.ps1 | Speaks the content of the given Epub file by text-to-speech. More » | | speak-file.ps1 | Speaks the content of the given text file by text-to-speech. More » | | speak-french.ps1 | Speaks text with a French text-to-speech voice. More » | | speak-german.ps1 | Speaks text with a German text-to-speech voice. More » | | speak-italian.ps1 | Speaks text with an Italian text-to-speech voice. More » | | speak-spanish.ps1 | Speaks text with a Spanish text-to-speech voice. More » | | speak-test.ps1 | Performs a speak test by text-to-speech. More » | | speak-text.ps1 | Speaks the given text by text-to-speech. More » | | spell-word.ps1 | Spells the given word by text-to-speech. More » | | tell-joke.ps1 | Tells a random joke by text-to-speech. More » | | tell-quote.ps1 | Tells a random quote by text-to-speech. More » | | turn-volume-down.ps1 | Turns the audio volume down. More » | | turn-volume-fully-up.ps1 | Turns the audio fully up. More » | | turn-volume-off.ps1 | Turns audio off. More » | | turn-volume-on.ps1 | Turns audio on. More » | | turn-volume-up.ps1 | Turns the audio volume up. More » |
⚙️ Scripts for Computer Management
| Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------- | | add-firewall-rules.ps1 | Adds firewall rules for executables, needs admin rights. Read more » | | check-cpu.ps1| Checks the CPU temperature. More » | | check-dns.ps1 | Checks the DNS resolution. More » | | check-drive-space.ps1 | Checks a drive for free space left. More » | | check-file-system.ps1 | Checks the file system of a drive (needs admin rights). More »| | check-health.ps1 | Checks the system health. More » | | check-ping.ps1 | Checks the ping latency to the internet. More » | | check-swap-space.ps1 | Checks the swap space for free space left. More » | | check-windows-system-files.ps1 | Checks Windows system files (needs admin rights). More » | | enable-crash-dumps.ps1 | Enables the writing of crash dumps. More » | | hibernate.ps1 | Hibernates the local computer immediately. More » | | install-github-cli.ps1 | Installs GitHub CLI. More » | | install-chrome-browser.ps1 | Installs the Google Chrome browser. More » | | install-firefox.ps1 | Installs the Firefox browser. More » | | install-knot-resolver.ps1 | Installs the Knot Resolver (needs admin rights). More »| | install-salesforce-cli.ps1 | Installs the Salesforce CLI (sfdx). More » | | install-ssh-client.ps1 | Installs a SSH client (needs admin rights). More » | | install-ssh-server.ps1 | Installs a SSH server (needs admin rights). More » | | install-signal-cli.ps1 | Installs the CLI edition of the Signal messenger. More »| | install-updates.ps1 | Installs updates (need admin rights). More » | | install-wsl.ps1 | Installs Windows Subsystem for Linux (WSL), needs admin rights. More »| | list-apps.ps1 | Lists the installed applications. More » | | list-cli-tools.ps1 | Lists installed command-line interface (CLI) tools. More » | | list-dns-servers.ps1 | Lists public DNS servers. More » | | list-drives.ps1 | Lists all drives. More » | | list-network-shares.ps1 | Lists all network shares of the local computer. More » | | [list-installed-software.ps1](scripts/list-insta
