Mega Collection of PowerShell Scripts ===================================== **Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the ๐Ÿ“‚[scripts](scripts/) subfolder.** **[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*) ๐Ÿ”Š Scripts for Audio & Voice ----------------------------- | Script | Description | | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more ยป](docs/list-voices.md) | | [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more ยป](docs/play-beep-sound.md) | | [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more ยป](docs/play-files.md) | | [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more ยป](docs/play-happy-birthday.md) | | [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more ยป](docs/play-imperial-march.md) | | [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more ยป](docs/play-jingle-bells.md) | | [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more ยป](docs/play-mission-impossible.md)| | [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [Read more ยป](docs/play-m3u.md) | | [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [Read more ยป](docs/play-mp3.md) | | [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more ยป](docs/play-super-mario.md) | | [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more ยป](docs/play-tetris-melody.md) | | [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more ยป](docs/speak-checklist.md) | | [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [Read more ยป](docs/speak-countdown.md) | | [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more ยป](docs/speak-english.md) | | [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more ยป](docs/speak-epub.md) | | [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more ยป](docs/speak-file.md) | | [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more ยป](docs/speak-french.md) | | [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more ยป](docs/speak-german.md) | | [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more ยป](docs/speak-italian.md) | | [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more ยป](docs/speak-spanish.md) | | [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more ยป](docs/speak-test.md) | | [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more ยป](docs/speak-text.md) | | [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more ยป](docs/tell-joke.md) | | [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more ยป](docs/tell-quote.md) | | [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more ยป](docs/turn-volume-down.md) | | [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [Read more ยป](docs/turn-volume-fully-up.md) | | [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more ยป](docs/turn-volume-off-audio.md) | | [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more ยป](docs/turn-volume-on.md) | | [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more ยป](docs/turn-volume-up.md) | โš™๏ธ Scripts to Manage Computers ------------------------------- | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- | | [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more ยป](docs/add-firewall-rules.md) | | [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more ยป](docs/check-cpu.md) | | [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more ยป](docs/check-dns.md) | | [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more ยป](docs/check-drive-space.md) | | [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more ยป](docs/check-file-system.md)| | [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more ยป](docs/check-health.md) | | [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more ยป](docs/check-ping.md) | | [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more ยป](docs/check-swap-space.md) | | [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more ยป](docs/check-windows-system-files.md) | | [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more ยป](docs/enable-crash-dumps.md) | | [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more ยป](docs/hibernate.md) | | [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more ยป](docs/install-github-cli.md) | | [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more ยป](docs/install-chrome-browser.md) | | [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more ยป](docs/install-firefox.md) | | [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more ยป](docs/install-knot-resolver.md)| | [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more ยป](docs/install-ssh-client.md) | | [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more ยป](docs/install-ssh-server.md) | | [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [Read more ยป](docs/install-signal-cli.md)| | [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more ยป](docs/install-updates.md) | | [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more ยป](docs/install-wsl.md)| | [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more ยป](docs/list-installed-apps.md) | | [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more ยป](docs/list-cli-tools.md) | | [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more ยป](docs/list-dns-servers.md) | | [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more ยป](docs/list-drives.md) | | [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more ยป](docs/list-network-shares.md) | | [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more ยป](docs/list-installed-software.md) | | [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more ยป](docs/list-printers.md) | | [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more ยป](docs/list-print-jobs.md) | | [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more ยป](docs/list-processes.md) | | [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more ยป](docs/list-services.md) | | [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more ยป](docs/list-system-info.md) | | [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more ยป](docs/list-tasks.md) | | [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more ยป](docs/list-timezone.md) | | [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more ยป](docs/list-timezones.md) | | [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more ยป](docs/list-user-groups.md) | | [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more ยป](docs/poweroff.md) | | [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more ยป](docs/query-smart-data.md) | | [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more ยป](docs/reboot.md) | | [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more ยป](docs/remove-print-jobs.md) | | [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more ยป](docs/restart-network-adapters.md)| | [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more ยป](docs/upgrade-ubuntu.md) | | [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a remote computer using Wake-on-LAN. [Read more ยป](docs/wakeup.md) | | [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more ยป](docs/windefender.md) | ๐Ÿ’ป Scripts for the Desktop --------------------------- | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------- | | [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more...](docs/close-calculator.md) | | [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [Read more...](docs/close-cortana.md) | | [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [Read more...](docs/close-chrome.md) | | [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](docs/close-program.md) | | [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [Read more...](docs/close-edge.md) | | [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [Read more...](docs/close-file-explorer.md) | | [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [Read more...](docs/close-edge.md) | | [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [Read more...](docs/close-microsoft-store.md) | | [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [Read more...](docs/close-netflix.md) | | [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [Read more...](docs/close-onedrive.md) | | [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [Read more...](docs/close-serenade.md) | | [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [Read more...](docs/close-snipping-tool.md) | | [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [Read more...](docs/close-spotify.md) | | [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [Read more...](docs/close-system-settings.md) | | [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [Read more...](docs/close-task-manager.md) | | [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [Read more...](docs/close-thunderbird.md) | | [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [Read more...](docs/close-vlc.md) | | [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [Read more...](docs/close-windows-terminal.md) | | [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [Read more...](docs/enable-god-mode.md) | | [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) | | [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) | | [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) | | [new-email.ps1](scripts/new-email.ps1) | Starts the default email client to write a new email. [Read more...](docs/new-email.md) | | [open-amazon-website.ps1](scripts/open-amazon-website.ps1)| Opens Amazon's website. [Read more...](docs/open-amazon-website.md) | | [open-default-browser.ps1](scripts/open-default-browser.ps1)| Launches the default Web browser. [Read more...](docs/open-default-browser.md) | | [open-calculator.ps1](scripts/open-calculator.ps1) | Starts the calculator program. [Read more...](docs/open-calculator.md) | | [open-c-drive.ps1](scripts/open-c-drive.ps1) | Opens the C: drive folder. [Read more...](docs/open-c-drive.md) | | [open-downloads-folders.ps1](scripts/open-downloads-folder.ps1) | Opens the user's downloads folder. [Read more...](docs/open-downloads-folder.md) | | [open-dropbox-folder.ps1](scripts/open-dropbox-folder.ps1) | Opens the user's Dropbox folder. [Read more...](docs/open-dropbox-folder.md) | | [open-edge.ps1](scripts/open-edge.ps1) | Launches the Edge browser. [Read more...](docs/open-edge.md) | | [open-email-client.ps1](scripts/open-browser.ps1) | Starts the default email client. [Read more...](docs/open-email-client.md) | | [open-facebook-website.ps1](scripts/open-facebook-website.ps1)| Opens Facebook's website. [Read more...](docs/open-facebook-website.md) | | [open-file-explorer.ps1](scripts/open-file-explorer.ps1) | Opens the File Explorer. [Read more...](docs/open-file-explorer.md) | | [open-firefox.ps1](scripts/open-firefox.ps1) | Launches the Firefox browser. [Read more...](docs/open-firefox.md) | | [open-fritz-box.ps1](scripts/open-fritz-box.ps1) | Opens FRITZ!Box's web interface. [Read more...](docs/open-fritz-box.md) | | [open-github.ps1](scripts/open-github.ps1) | Opens GitHub's website. [Read more...](docs/open-github.md) | | [open-google-contacts.ps1](scripts/open-google-contacts.ps1) | Opens Google Contacts. [Read more...](docs/open-google-contacts.md) | | [open-google-earth.ps1](scripts/open-google-earth.ps1) | Opens Google Earth. [Read more...](docs/open-google-earth.md) | | [open-google-mail.ps1](scripts/open-google-mail.ps1) | Opens Google Mail. [Read more...](docs/open-google-mail.md) | | [open-google-maps.ps1](scripts/open-google-maps.ps1) | Opens Google Maps. [Read more...](docs/open-google-maps.md) | | [open-google-news.ps1](scripts/open-google-news.ps1) | Opens Google News. [Read more...](docs/open-google-news.md) | | [open-google-play.ps1](scripts/open-google-play.ps1) | Opens Google Play. [Read more...](docs/open-google-play.md) | | [open-google-search.ps1](scripts/open-google-search.ps1) | Opens Google Search. [Read more...](docs/open-google-search.md) | | [open-google-translate.ps1](scripts/open-google-translate.ps1) | Opens Google Translate. [Read more...](docs/open-google-translate.md) | | [open-home-folder.ps1](scripts/open-home-folder.ps1) | Opens the user's home folder. [Read more...](docs/open-home-folder.md) | | [open-music-folder.ps1](scripts/open-music-folder.ps1)| Opens the user's music folder. [Read more...](docs/open-music-folder.md) | | [open-netflix.ps1](scripts/open-netflix.ps1) | Starts the Netflix app. [Read more...](docs/open-netflix.md) | | [open-microsoft-store.ps1](scripts/open-microsoft-store.ps1)| Launches the Microsoft Store app. [Read more...](docs/open-microsoft-store.md) | | [open-notepad.ps1](scripts/open-notepad.ps1) | Starts the Notepad app. [Read more...](docs/open-notepad.md) | | [open-onedrive-folder.ps1](scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder. [Read more...](docs/open-onedrive-folder.md) | | [open-pictures-folder.ps1](scripts/open-pictures-folder.ps1) | Opens the user's pictures folder. [Read more...](docs/open-pictures-folder.md) | | [open-recycle-bin.ps1](scripts/open-recycle-bin.ps1) | Opens the user's recycle bin folder. [Read more...](docs/open-recycle-bin.md) | | [open-repos-folder.ps1](scripts/open-repos-folder.ps1) | Opens the user's Git repositories folder. [Read more...](docs/open-repos-folder.md) | | [open-snipping-tool.ps1](scripts/open-snipping-tool.ps1)| Starts the Snipping Tool. [Read more...](docs/open-snipping-tool.md) | | [open-speed-test.ps1](scripts/open-speed-test.ps1) | Opens Cloudflare's speed test. [Read more...](docs/open-speed-test.md) | | [open-spotify.ps1](scripts/open-spotify.ps1) | Opens Spotify. [Read more...](docs/open-spotify.md) | | [open-system-settings.ps1](scripts/open-system-settings.ps1)| Opens the system settings of Windows. [Read more...](docs/open-system-settings.md) | | [open-task-manager.ps1](scripts/open-task-manager.ps1)| Starts the Task Manager. [Read more...](docs/open-task-manager.md) | | [open-videos-folder.ps1](scripts/open-videos-folder.ps1)| Opens the user's videos folder. [Read more...](docs/open-videos-folder.md) | | [open-windows-terminal.ps1](scripts/open-windows-terminal.ps1)| Launches Windows Terminal. [Read more...](docs/open-windows-terminal.md) | | [open-wikipedia-website.ps1](scripts/open-wikipedia-website.ps1)| Opens Wikipedia's website. [Read more...](docs/open-wikipedia-website.md) | | [open-youtube-website.ps1](scripts/open-youtube-website.ps1)| Opens YouTube's website. [Read more...](docs/open-youtube-website.md) | | [remind-me.ps1](scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](docs/remind-me.md)| | [save-screenshot.ps1](scripts/save-screenshot.ps1) | Saves a single screenshot. [Read more...](docs/save-screenshot.md) | | [set-wallpaper.ps1](scripts/set-wallpaper.ps1) | Sets the given image as wallpaper. [Read more...](docs/set-wallpaper.md) | ๐Ÿ“ Scripts for Files & Folders ------------------------------- | Script | Description | | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- | | [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more...](docs/cd-autostart.md) | | [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [Read more...](docs/cd-desktop.md) | | [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read more...](docs/cd-docs.md) | | [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [Read more...](docs/cd-downloads.md) | | [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read more...](docs/cd-dropbox.md) | | [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [Read more...](docs/cd-home.md) | | [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) | | [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) | | [cd-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) | | [cd-recycle-bin.ps1](scripts/cd-recycle-bin.ps1) | Set the working directory to the user's recycle bin folder. [Read more...](docs/cd-recycle-bin.md) | | [cd-repos.ps1](scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](docs/cd-repos.md)| | [cd-repo.ps1](scripts/cd-repo.ps1) | Change the working directory to the given Git repository folder. [Read more...](docs/cd-repo.md) | | [cd-root.ps1](scripts/cd-root.ps1) | Set the working directory to the root directory. [Read more...](docs/cd-root.md) | | [cd-scripts.ps1](scripts/cd-scripts.ps1) | Set the working directory to the PowerShell Scripts folder. [Read more...](docs/cd-scripts.md) | | [cd-ssh.ps1](scripts/cd-ssh.ps1) | Set the working directory to the user's SSH folder. [Read more...](docs/cd-ssh.md) | | [cd-up.ps1](scripts/cd-up.ps1) | Set the working directory to one directory level up. [Read more...](docs/cd-up.md) | | [cd-up2.ps1](scripts/cd-up2.ps1) | Set the working directory to two directory levels up. [Read more...](docs/cd-up2.md) | | [cd-up3.ps1](scripts/cd-up3.ps1) | Set the working directory to three directory levels up. [Read more...](docs/cd-up3.md) | | [cd-up4.ps1](scripts/cd-up4.ps1) | Set the working directory to four directory levels up. [Read more...](docs/cd-up4.md) | | [cd-videos.ps1](scripts/cd-videos.ps1) | Set the working directory to the user's videos folder. [Read more...](docs/cd-videos.md) | | [check-symlinks.ps1](scripts/check-symlinks.ps1) | Checks every symlink in a directory tree. [Read more...](docs/check-symlinks.md) | | [check-xml-file.ps1](scripts/check-xml-file.ps1) | Checks the given XML file for validity. [Read more...](docs/check-xml-file.md) | | [clear-recycle-bin.ps1](scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](docs/clear-recycle-bin.md)| | [copy-photos-sorted.ps1](scripts/copy-photos-sorted.ps1) | Copy image files sorted by year and month. [Read more...](docs/copy-photos-sorted.md) | | [decrypt-file.ps1](scripts/decrypt-file.ps1) | Decrypts the given file. [Read more...](docs/decrypt-file.md) | | [download-dir.ps1](scripts/download-dir.ps1) | Downloads a directory tree from the given URL. [Read more...](docs/download-dir.md) | | [download-file.ps1](scripts/download-file.ps1) | Downloads a file from the given URL. [Read more...](docs/download-file.md) | | [edit.ps1](scripts/edit.ps1) | Edits the given file with the built-in text editor. [Read more...](docs/edit.md) | | [encrypt-file.ps1](scripts/encrypt-file.ps1) | Encrypts the given file. [Read more...](docs/encrypt-file.md) | | [get-md5.ps1](scripts/get-md5.ps1) | Prints the MD5 checksum of the given file. [Read more...](docs/get-md5.md) | | [get-sha1.ps1](scripts/get-sha1.ps1) | Prints the SHA1 checksum of the given file. [Read more...](docs/get-sha1.md) | | [get-sha256.ps1](scripts/get-sha256.ps1) | Prints the SHA256 checksum of the given file. [Read more...](docs/get-sha256.md) | | [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.md) | | [list-dir-tree.ps1](scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](docs/list-dir-treep.md) | | [list-empty-dirs.ps1](scripts/list-empty-dirs.ps1) | Lists empty subfolders within the given directory tree. [Read more...](docs/list-empty-dirs.md) | | [list-empty-files.ps1](scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](docs/list-empty-files.md) | | [list-files.ps1](scripts/list-files.ps1) | Lists all files in the given folder and also in every subfolder. [Read more...](docs/list-files.md) | | [list-folder.ps1](scripts/list-folder.ps1) | Lists the folder content. [Read more...](docs/list-folder.md) | | [list-hidden-files.ps1](scripts/list-hidden-files.ps1) | Lists hidden files within the given directory tree. [Read more...](docs/list-hidden-files.md) | | [list-recycle-bin.ps1](scripts/list-recycle-bin.ps1) | Lists the content of the recycle bin folder. [Read more...](docs/list-recycle-bin.md) | | [list-unused-files.ps1](scripts/list-unused-files.ps1) | Lists unused files in a directory tree. [Read more...](docs/list-unused-files.md) | | [list-workdir.ps1](scripts/list-workdir.ps1) | Lists the current working directory. [Read more...](docs/list-workdir.md) | | [make-install.ps1](scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](docs/make-install.md)| | [new-shortcut.ps1](scripts/new-shortcut.ps1) | Creates a new shortcut file. [Read more...](docs/new-shortcut.md) | | [new-symlink.ps1](scripts/new-symlink.ps1) | Creates a new symbolic link file. [Read more...](docs/new-symlink.md) | | [new-zipfile.ps1](scripts/new-zipfile.ps1) | Creates a new .zip file from a directory. [Read more...](docs/new-zipfile.md) | | [publish-to-ipfs.ps1](scripts/publish-to-ipfs.ps1) | Publishes the given files or directory to IPFS. [Read more...](docs/publish-to-ipfs.md) | | [remove-empty-dirs.ps1](scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](docs/remove-empty-dirs.md)| | [replace-in-files.ps1](scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](docs/replace-in-files.md)| | [search-filename.ps1](scripts/search-filename.ps1) | Searches the directory tree for filenames by given pattern. [Read more...](docs/search-filename.md) | | [search-files.ps1](scripts/search-files.ps1) | Searches the given pattern in the given files. [Read more...](docs/search-files.md) | | [upload-file.ps1](scripts/upload-file.ps1) | Uploads the local file to the given FTP server. [Read more...](docs/upload-file.md) | โ™ป๏ธ Scripts to Convert Files --------------------------- | Script | Description | | ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | | [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more ยป](docs/convert-csv2txt.md) | | [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more ยป](docs/convert-mysql2csv.md) | | [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more ยป](docs/convert-ps2bat.md) | | [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more ยป](docs/convert-ps2md.md) | | [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more ยป](docs/convert-sql2csv.md) | | [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more ยป](docs/convert-txt2wav.md) | | [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more ยป](docs/export-to-manuals.md) | ๐Ÿ“ Scripts for Git ------------------- | Script | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more ยป](docs/build-repo.md) | | [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more ยป](docs/build-repos.md) | | [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more ยป](docs/check-repo.md) | | [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more ยป](docs/clean-repo.md) | | [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more ยป](docs/clean-repos.md) | | [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more ยป](docs/clone-repos.md) | | [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more ยป](docs/configure-git.md) | | [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more ยป](docs/fetch-repo.md) | | [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more ยป](docs/fetch-repos.md) | | [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more ยป](docs/list-branches.md) | | [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more ยป](docs/list-commit-stats.md) | | [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more ยป](docs/list-commits.md) | | [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more ยป](docs/list-latest-tag.md) | | [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more ยป](docs/list-latest-tags.md) | | [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more ยป](docs/list-repos.md) | | [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more ยป](docs/list-submodules.md) | | [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more ยป](docs/list-tags.md) | | [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more ยป](docs/new-branch.md) | | [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more ยป](docs/new-tag.md) | | [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more ยป](docs/pick-commit.md) | | [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more ยป](docs/pull-repo.md) | | [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more ยป](docs/pull-repos.md) | | [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more ยป](docs/remove-tag.md) | | [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more ยป](docs/switch-branch.md) | | [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more ยป](docs/sync-repo.md) | | [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more ยป](docs/write-changelog.md) | ๐Ÿ”Ž Scripts for PowerShell ------------------------ | Script | Description | | ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | | [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](docs/daily-tasks.sh.md) | | [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](docs/introduce-powershell.md) | | [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](docs/list-aliases.md) | | [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](docs/list-automatic-variables.md)| | [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](docs/list-cheat-sheet.md) | | [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](docs/list-cmdlets.md) | | [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [Read more...](docs/list-console-colors.md) | | [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [Read more...](docs/list-modules.md) | | [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [Read more...](docs/list-profiles.md) | | [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [Read more...](docs/list-scripts.md) | | [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [Read more...](docs/new-script.md) | | [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [Read more...](docs/set-profile.md) | ๐Ÿ›’ Various PowerShell Scripts ------------------------------ | Script | Description | |-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------| | [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more...](docs/add-memo.md) | | [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1) | Checks the given IPv4 address for validity. [Read more...](docs/check-ipv4-address.md) | | [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1) | Checks the given IPv6 address for validity. [Read more...](docs/check-ipv6-address.md) | | [check-mac-address.ps1](scripts/check-mac-address.ps1) | Checks the given MAC address for validity. [Read more...](docs/check-mac-address.md) | | [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1) | Checks the given subnet mask for validity. [Read more...](docs/check-subnet-mask.md) | | [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [Read more...](docs/check-weather.md) | | [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) | | [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) | | [list-city-weather.ps1](scripts/list-city-weather.ps1) | Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) | | [list-countries.ps1](scripts/list-countries.ps1) | Lists details of all countries. [Read more...](docs/list-countries.md) | | [list-credits.ps1](scripts/list-credits.ps1) | Shows the credits. [Read more...](docs/list-credits.md) | | [list-crypto-rates.ps1](scripts/list-crypto-rates.ps1) | Lists the current crypto exchange rates. [Read more...](docs/list-crypto-rates.md) | | [list-environment-variables.ps1](scripts/list-environment-variables.ps1) | Lists all environment variables. [Read more...](docs/list-environment-variables.md) | | [list-emojis.ps1](scripts/list-emojis.ps1) | Lists the emojis of Unicode 13.0. [Read more...](docs/list-emojis.md) | | [list-fritzbox-calls.ps1](scripts/list-fritzbox-calls.ps1) | Lists the FRITZ!Box calls. [Read more...](docs/list-fritzbox-calls.md) | | [list-fritzbox-devices.ps1](scripts/list-fritzbox-devices.ps1) | Lists FRITZ!Box's known devices. [Read more...](docs/list-fritzbox-devices.md) | | [list-earthquakes.ps1](scripts/list-earthquakes.ps1) | Lists earthquakes with magnitude >= 6.0 for the last 30 days. [Read more...](docs/list-earthquakes.md) | | [list-exchange-rates.ps1](scripts/list-exchange-rates.ps1) | Lists the current exchange rates for the given currency. [Read more...](docs/list-exchange-rates.md) | | [list-memos.ps1](scripts/list-memos.ps1) | Lists the memos at $HOME/Memos.csv. [Read more...](docs/list-memos.md) | | [list-mysql-tables.ps1](scripts/list-mysql-tables.ps1) | Lists the MySQL server tables. [Read more...](docs/list-mysql-tables.md) | | [list-news.ps1](scripts/list-news.ps1) | Lists the latest news. [Read more...](docs/list-news.md) | | [list-os-releases.ps1](scripts/list-os-releases.ps1) | Lists operating system releases and download URL. [Read more...](docs/list-os-releases.md) | | [list-os-updates.ps1](scripts/list-os-updates.ps1) | Lists operating system updates. [Read more...](docs/list-os-updates.md) | | [list-passwords.ps1](scripts/list-passwords.ps1) | Prints a list of random passwords. [Read more...](docs/list-passwords.md) | | [list-pins.ps1](scripts/list-pins.ps1) | Prints a list of random PIN's. [Read more...](docs/list-pins.md) | | [list-sql-tables.ps1](scripts/list-sql-tables.ps1) | Lists the SQL server tables. [Read more...](docs/list-sql-tables.md) | | [list-tiobe-index.ps1](scripts/list-tiobe-index.ps1) | Lists the TIOBE index of top programming languages. [Read more...](docs/list-tiobe-index.md) | | [list-weather.ps1](scripts/list-weather.ps1) | Lists the hourly weather. [Read more...](docs/list-weather.md) | | [locate-city.ps1](scripts/locate-city.ps1) | Prints the geographic location of the given city. [Read more...](docs/locate-city.md) | | [locate-ipaddress.ps1](scripts/locate-ipaddress.ps1) | Prints the geographic location of the given IP address. [Read more...](docs/locate-ipaddress.md) | | [locate-zip-code.ps1](scripts/locate-zip-code.ps1) | Prints the geographic location of the given zip-code. [Read more...](docs/locate-zip-code.md) | | [moon.ps1](scripts/moon.ps1) | Prints the current moon phase. [Read more...](docs/moon.md) | | [new-qrcode.ps1](scripts/new-qrcode.ps1) | Generates a new QR code image file. [Read more...](docs/new-qrcode.md) | | [reboot-fritzbox.ps1](scripts/reboot-fritzbox.ps1) | Reboots the FRITZ!box device. [Read more...](docs/reboot-fritzbox.md) | | [scan-ports.ps1](scripts/scan-ports.ps1) | Scans the network for open/closed ports. [Read more...](docs/scan-ports.md) | | [send-email.ps1](scripts/send-email.ps1) | Sends an email message. [Read more...](docs/send-email.md) | | [send-tcp.ps1](scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port. [Read more...](docs/send-tcp.md) | | [send-udp.ps1](scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port. [Read more...](docs/send-udp.md) | | [set-timer.ps1](scripts/set-timer.ps1) | Sets a timer for a countdown. [Read more...](docs/set-timer.md) | | [simulate-presence.ps1](scripts/simulate-presence.ps1) | Simulates the human presence against burglars. [Read more...](docs/simulate-presence.md) | | [start-calibre-server.ps1](scripts/start-calibre-server.ps1) | Starts a local Calibre server. [Read more...](docs/start-calibre-server.md) | | [start-ipfs-server.ps1](scripts/start-ipfs-server.ps1) | Starts a local IPFS server. [Read more...](docs/start-ipfs-server.md) | | [switch-shelly1.ps1](scripts/switch-shelly1.ps1) | Switches a Shelly1 device in the local network. [Read more...](docs/switch-shelly1.md) | | [translate-file.ps1](scripts/translate-file.ps1) | Translates the given text file into other languages. [Read more...](docs/translate-file.md) | | [translate-files.ps1](scripts/translate-files.ps1) | Translates the given text files into any supported language. [Read more...](docs/translate-files.md) | | [translate-text.ps1](scripts/translate-text.ps1) | Translates the given text in English into other languages. [Read more...](docs/translate-text.md) | | [weather.ps1](scripts/weather.ps1) | Prints the current weather forecast. [Read more...](docs/weather.md) | | [weather-report.ps1](scripts/weather-report.ps1) | Prints the local weather report. [Read more...](docs/weather-report.md) | | [what-is.ps1](scripts/what-is.ps1) | Prints a description of the given abbreviation. [Read more...](docs/what-is.md) | | [write-animated.ps1](scripts/write-animated.ps1) | Writes animated text. [Read more...](docs/write-animated.md) | | [write-big.ps1](scripts/write-big.ps1) | Writes the given text in big letters. [Read more...](docs/write-big.md) | | [write-blue.ps1](scripts/write-blue.ps1) | Writes the given text in a blue foreground color. [Read more...](docs/write-blue.md) | | [write-braille.ps1](scripts/write-braille.ps1) | Writes the given text in Braille. [Read more...](docs/write-braille.md) | | [write-calendar.ps1](scripts/write-calendar.ps1) | Writes the calendar (month of year). [Read more...](docs/write-calendar.md) | | [write-green.ps1](scripts/write-green.ps1) | Writes the given text in a green foreground color. [Read more...](docs/write-green.md) | | [write-joke.ps1](scripts/write-joke.ps1) | Writes a random Juck Norris joke. [Read more...](docs/write-joke.md) | | [write-lowercase.ps1](scripts/write-lowercase.ps1) | Writes the given text in lowercase letters. [Read more...](docs/write-lowercase.md) | | [write-marquee.ps1](scripts/write-marquee.ps1) | Writes the given text as marquee. [Read more...](docs/write-marquee.md) | | [write-morse-code.ps1](scripts/write-morse-code.ps1) | Writes the given text in Morse code. [Read more...](docs/write-morse-code.md) | | [write-motd.ps1](scripts/write-motd.ps1) | Writes the message of the day (MOTD). [Read more...](docs/write-motd.md) | | [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) | | [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) | | [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) | | [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [Read more...](docs/write-typewriter.md) | | [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [Read more...](docs/write-uppercase.md) | | [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [Read more...](docs/write-vertical.md) | | [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [Read more...](docs/show-notification-motivation-quote.md) | ๐Ÿ“ง Feedback ------------ Send your email feedback to: `markus.fleschutz [at] gmail.com` ๐Ÿค License & Copyright ----------------------- This open source project is licensed under the CC0-1.0 license. All trademarks are the property of their respective owners.