mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 06:30:04 +02:00
Compare commits
101 Commits
Author | SHA1 | Date | |
---|---|---|---|
36aa290e9c | |||
3ff1d8718c | |||
b6759748ca | |||
8fcdf14d13 | |||
8aac02ceab | |||
6553707bff | |||
f6927c87f7 | |||
1a956d2a5b | |||
dc93b28ee9 | |||
abb97e1c9f | |||
1e227f3ba4 | |||
16983fbd21 | |||
d9c784fdbf | |||
66d6bc3d52 | |||
e73e26f9e7 | |||
7501f71794 | |||
3b8b88c6fa | |||
e11581f2cd | |||
e12bff48a1 | |||
46a49b5291 | |||
27ca36b317 | |||
d3abac4b07 | |||
652fd1fd01 | |||
203c9a8cfd | |||
11a28241bd | |||
9a1cacfcbb | |||
b5909b519a | |||
830e211cd4 | |||
beafdaa629 | |||
b56bcbcecd | |||
fa91cb5236 | |||
6ccc28a80f | |||
72cfca450f | |||
b759eaa68a | |||
db3c6e6138 | |||
d038f7bbe1 | |||
965b63ea1e | |||
6a848c8a7b | |||
7a22ef6c5e | |||
c33e0a7519 | |||
b4edc48cfb | |||
9570479c81 | |||
b436672010 | |||
5c2f1ede1d | |||
be47b2d002 | |||
fa9c10d2a4 | |||
cb182e897b | |||
702540704b | |||
22b72f2071 | |||
6e093e7dee | |||
4801e38d95 | |||
523bdde149 | |||
52a5cacabb | |||
b272bb0073 | |||
ee412a4013 | |||
e2aed21d87 | |||
c89673f442 | |||
8b642165c7 | |||
59f3c1bab5 | |||
d416115737 | |||
6d65fda172 | |||
1ffd91c5e2 | |||
dafa6cf1d7 | |||
225cf201aa | |||
d9c6286503 | |||
da55be390b | |||
16526f3a06 | |||
3dbc044948 | |||
9f56234f99 | |||
587c0824b9 | |||
7d34c7cdf5 | |||
c623a07146 | |||
b365dec5f6 | |||
3d8e7fbad8 | |||
f943a8ae91 | |||
194dc78d3d | |||
60511c7731 | |||
0307ff46fa | |||
5ad06bb3d3 | |||
eca81b91d5 | |||
71eaa3e6f1 | |||
8f9bfa655d | |||
21db8c52bd | |||
398d10fc29 | |||
a9e08a6c3d | |||
b455a05458 | |||
d3e1550e02 | |||
cf606eebba | |||
6428478bfb | |||
a683f528ab | |||
9a7d8ee371 | |||
d8b3f36711 | |||
6d46821001 | |||
b2485aa1ab | |||
4a3b0aa5fb | |||
50466806df | |||
d662dcf125 | |||
6daf7a7928 | |||
54cc55b103 | |||
9d44a2e9a0 | |||
c5eea816ee |
220
README.md
220
README.md
@ -3,42 +3,42 @@ Mega Collection of PowerShell Scripts
|
|||||||
|
|
||||||
**It includes 500+ useful cross-platform PowerShell scripts located in the 📂[scripts](scripts/) subfolder - for command-line use, 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.**
|
**It includes 500+ useful cross-platform PowerShell scripts located in the 📂[scripts](scripts/) subfolder - for command-line use, 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.**
|
||||||
|
|
||||||
**[Download](https://github.com/fleschutz/PowerShell/releases) | [Table of Scripts](https://github.com/fleschutz/PowerShell/blob/master/data/scripts.csv) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*)
|
**[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
|
🔊 Scripts for Audio & Voice
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||||||
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more...](docs/list-voices.md) |
|
| [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-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-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-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-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-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-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 playlist (M3U file format). [Read more...](docs/play-m3u.md) |
|
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given playlist (M3U file format). [Read more »](docs/play-m3u.md) |
|
||||||
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given sound file (MP3 file format). [Read more...](docs/play-mp3.md) |
|
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given sound file (MP3 file format). [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-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) |
|
| [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-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) | Starts a countdown by text-to-speech. [Read more...](docs/speak-countdown.md) |
|
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Starts 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-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-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-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-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-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-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-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-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) |
|
| [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-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) |
|
| [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-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 volume fully up. [Read more...](docs/turn-volume-fully-up.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-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-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) |
|
| [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
|
⚙️ Scripts to Manage Computers
|
||||||
@ -46,49 +46,49 @@ Mega Collection of PowerShell Scripts
|
|||||||
|
|
||||||
| Script | Description |
|
| 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) |
|
| [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-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-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-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-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-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-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-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) |
|
| [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) |
|
| [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) |
|
| [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-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-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more »](docs/install-chrome-browser.md) |
|
||||||
| [firefox-installer.ps1](scripts/firefox-installer.ps1) | Installs the firefox browser. [Read more...](docs/install-firefox-browser.md) |
|
| [firefox-installer.ps1](scripts/firefox-installer.ps1) | Installs the firefox browser. [Read more »](docs/install-firefox-browser.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-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-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-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-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-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)|
|
| [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-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-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-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-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-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-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-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-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-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-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-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-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-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-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) |
|
| [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) |
|
| [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) |
|
| [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) |
|
| [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) |
|
| [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)|
|
| [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) |
|
| [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 computer using Wake-on-LAN. [Read more...](docs/wakeup.md) |
|
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a 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) |
|
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) |
|
||||||
|
|
||||||
|
|
||||||
💻 Scripts for the Desktop
|
💻 Scripts for the Desktop
|
||||||
@ -222,48 +222,48 @@ Mega Collection of PowerShell Scripts
|
|||||||
♻️ Scripts to Convert Files
|
♻️ Scripts to Convert Files
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
|
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
||||||
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more...](docs/convert-csv2txt.md) |
|
| [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-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-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-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-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) |
|
| [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) |
|
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more »](docs/export-to-manuals.md) |
|
||||||
|
|
||||||
|
|
||||||
📝 Scripts for Git
|
📝 Scripts for Git
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
||||||
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more...](docs/build-repo.md) |
|
| [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) |
|
| [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) |
|
| [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-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) |
|
| [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) |
|
| [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) |
|
| [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-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) |
|
| [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-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-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-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-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-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-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-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) |
|
| [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-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) |
|
| [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) |
|
| [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-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) |
|
| [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) |
|
| [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) |
|
| [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) |
|
| [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) |
|
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more »](docs/write-changelog.md) |
|
||||||
|
|
||||||
🔎 Scripts for PowerShell
|
🔎 Scripts for PowerShell
|
||||||
------------------------
|
------------------------
|
||||||
|
18
data/Jenkinsfile
vendored
Normal file
18
data/Jenkinsfile
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
pipeline { // requires Jenkins plugin 'PowerShell'
|
||||||
|
agent any // job may run on any Jenkins node
|
||||||
|
stages {
|
||||||
|
stage ('Cleanup') {
|
||||||
|
steps {
|
||||||
|
echo "Pulled from ${env.GIT_URL}, branch ${env.GIT_BRANCH}, commit {$env.GIT_COMMIT} ..."
|
||||||
|
sh 'git clean -xdf'
|
||||||
|
sh 'git status'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage ('Health Check') {
|
||||||
|
steps {
|
||||||
|
echo "Starting build #${env.BUILD_NUMBER} on ${env.NODE_NAME} node ..."
|
||||||
|
powershell './scripts/check-health.ps1'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -38261,7 +38261,7 @@ KRMG,Richard B Russell Airport (USA)
|
|||||||
KRMN,Stafford Regional Airport (USA)
|
KRMN,Stafford Regional Airport (USA)
|
||||||
KRMY,Brooks Field (USA)
|
KRMY,Brooks Field (USA)
|
||||||
KRNC,Warren County Memorial Airport (USA)
|
KRNC,Warren County Memorial Airport (USA)
|
||||||
KRND,Randolph Air Force Base (USA)
|
KRND,Randolph Air Force Base (San Antonio, Texas, USA)
|
||||||
KRNH,New Richmond Regional Airport (USA)
|
KRNH,New Richmond Regional Airport (USA)
|
||||||
KRNM,Ramona Airport (USA)
|
KRNM,Ramona Airport (USA)
|
||||||
KRNO,Reno Tahoe International Airport (USA)
|
KRNO,Reno Tahoe International Airport (USA)
|
||||||
|
Can't render this file because it is too large.
|
@ -11,6 +11,7 @@ A/F,Autofeather
|
|||||||
A/FD,Airport/Facility Directory
|
A/FD,Airport/Facility Directory
|
||||||
A/P,Autopilot
|
A/P,Autopilot
|
||||||
A/R,Altitude Rate
|
A/R,Altitude Rate
|
||||||
|
A-VDGS,Advanced Visual Docking Guidance System
|
||||||
A300,Airbus A300 twinjet
|
A300,Airbus A300 twinjet
|
||||||
A310,Airbus A310 twinjet
|
A310,Airbus A310 twinjet
|
||||||
A320,Airbus A320 family of twinjets
|
A320,Airbus A320 family of twinjets
|
||||||
@ -55,8 +56,7 @@ ADL,Aeronautical Data Link
|
|||||||
ADLY,Arrival Delay
|
ADLY,Arrival Delay
|
||||||
ADP,Aerodrome dé Paris (Charles de Gaulle)
|
ADP,Aerodrome dé Paris (Charles de Gaulle)
|
||||||
ADP,Automated Data Processing
|
ADP,Automated Data Processing
|
||||||
ADS,Automated Distribution System
|
ADS,"Automated Distribution System, Automatic Dependent Surveillance, Aircraft Docking System"
|
||||||
ADS,Automatic Dependent Surveillance
|
|
||||||
ADS-B,Automatic Dependent Surveillance-Broadcast
|
ADS-B,Automatic Dependent Surveillance-Broadcast
|
||||||
AENA,Aeropuertos Españoles y Navegación Aérea
|
AENA,Aeropuertos Españoles y Navegación Aérea
|
||||||
AEO,All Engines Operative
|
AEO,All Engines Operative
|
||||||
@ -70,6 +70,7 @@ AFTN,Aeronautical Fixed Telecommunication Network
|
|||||||
AFM,Aircraft Flight Manual
|
AFM,Aircraft Flight Manual
|
||||||
AGAS,Action Group for ATM Safety (EUROCONTROL)
|
AGAS,Action Group for ATM Safety (EUROCONTROL)
|
||||||
AGL,Above Ground Level
|
AGL,Above Ground Level
|
||||||
|
AGNIS,"Azimuth Guidance for Nose-In Stand (docking system)"
|
||||||
AH,Acceleration Height
|
AH,Acceleration Height
|
||||||
ahdg,alter heading
|
ahdg,alter heading
|
||||||
AICS,Aircraft Inventory and Charter System
|
AICS,Aircraft Inventory and Charter System
|
||||||
@ -124,6 +125,7 @@ AOPA,Aircraft Owners and Pilots Association
|
|||||||
AOR,Area of Responsibility
|
AOR,Area of Responsibility
|
||||||
AP,Acquisition Plan
|
AP,Acquisition Plan
|
||||||
APB,Acquisition Program Baselines
|
APB,Acquisition Program Baselines
|
||||||
|
APIS,Aircraft Parking and Information System
|
||||||
APM,Approach Path Monitor
|
APM,Approach Path Monitor
|
||||||
APP,Approach
|
APP,Approach
|
||||||
APS,Airport Planning Standard
|
APS,Airport Planning Standard
|
||||||
@ -261,7 +263,7 @@ ETOPS,Extended-range Twin-engine Operational Performance Standards
|
|||||||
ETVS,Electronic Terminal Voice Switch
|
ETVS,Electronic Terminal Voice Switch
|
||||||
eVTOL,Electric Vertical Take-off and Landing
|
eVTOL,Electric Vertical Take-off and Landing
|
||||||
FAA,U.S. Federal Aviation Administration
|
FAA,U.S. Federal Aviation Administration
|
||||||
FAR,Fuel Air Ratio
|
FAR,"Fuel Air Ratio, Federal Aviation Regulations"
|
||||||
FAS,Final Approach Segment
|
FAS,Final Approach Segment
|
||||||
FAS,Final Approach Speed
|
FAS,Final Approach Speed
|
||||||
FAST,Future Aviation Safety Team
|
FAST,Future Aviation Safety Team
|
||||||
@ -286,6 +288,7 @@ FCPC,Flight Control Primary Computer
|
|||||||
FE,Field Elevation (highest point of an airport’s usable runways and is measured in height above mean sea level)
|
FE,Field Elevation (highest point of an airport’s usable runways and is measured in height above mean sea level)
|
||||||
FIA,Flight Information Area
|
FIA,Flight Information Area
|
||||||
FIR,Flight Information Region
|
FIR,Flight Information Region
|
||||||
|
FIS,Federal Inspection Services
|
||||||
FL,Flight Level
|
FL,Flight Level
|
||||||
FLIP,Flight Information Publication
|
FLIP,Flight Information Publication
|
||||||
FMG,Flughafen München GmbH
|
FMG,Flughafen München GmbH
|
||||||
@ -321,6 +324,7 @@ KCAS,Calibrated AirSpeed in Knots
|
|||||||
KIAS,Indicated Airspeed in Knots
|
KIAS,Indicated Airspeed in Knots
|
||||||
KTAS,True AirSpeed in Knots
|
KTAS,True AirSpeed in Knots
|
||||||
LAA,Lappland Aviation Academy
|
LAA,Lappland Aviation Academy
|
||||||
|
LAHSO,Land and Hold Short Operations
|
||||||
LDA,Landing Distance Available
|
LDA,Landing Distance Available
|
||||||
LDAH,Landing Distance Available for Helicopter
|
LDAH,Landing Distance Available for Helicopter
|
||||||
LH,Lufthansa
|
LH,Lufthansa
|
||||||
@ -365,6 +369,8 @@ OFZ,Obstacle Free Zone
|
|||||||
OJT,On the Job Training
|
OJT,On the Job Training
|
||||||
OODA,"Observation, Orientation, Decision, and Action"
|
OODA,"Observation, Orientation, Decision, and Action"
|
||||||
PA,Pressure Altitude
|
PA,Pressure Altitude
|
||||||
|
PADS,Parallax Aircraft Docking System
|
||||||
|
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
||||||
PAPI,Precision Approach Path Indicator
|
PAPI,Precision Approach Path Indicator
|
||||||
PAR,Precision Approach Radar
|
PAR,Precision Approach Radar
|
||||||
PCAS,Primary Crash Alarm System
|
PCAS,Primary Crash Alarm System
|
||||||
@ -384,7 +390,7 @@ RADNET,Radar Network
|
|||||||
RAIM,Receiver Autonomous Integrity Monitoring (GPS)
|
RAIM,Receiver Autonomous Integrity Monitoring (GPS)
|
||||||
RAPCON,Radar Approach Control
|
RAPCON,Radar Approach Control
|
||||||
RAT,Reliability Acceptance Test (see also FAT and SAT)
|
RAT,Reliability Acceptance Test (see also FAT and SAT)
|
||||||
RAM,Radar Absorbent Material
|
RAM,Royal Air Maroc
|
||||||
RAP,Recognised Air Picture
|
RAP,Recognised Air Picture
|
||||||
RASP,Recognised Air and Surveillance Picture
|
RASP,Recognised Air and Surveillance Picture
|
||||||
RB,Relative Bearing
|
RB,Relative Bearing
|
||||||
@ -404,14 +410,12 @@ RIMCAS,Runway Incursion Monitoring and Conflict Alert System
|
|||||||
RJAF,Royal Jordanian Air Force
|
RJAF,Royal Jordanian Air Force
|
||||||
RJC,Reject
|
RJC,Reject
|
||||||
RPI,Runway Point of Intercept
|
RPI,Runway Point of Intercept
|
||||||
RPM,Rotations per Minute
|
|
||||||
ROFZ,Runway Obstacle Free Zone
|
ROFZ,Runway Obstacle Free Zone
|
||||||
RMI,Radio Magnetic Indicator
|
RMI,Radio Magnetic Indicator
|
||||||
RNAV,Area Navigation
|
RNAV,Area Navigation
|
||||||
RNP,Required Navigation Performance
|
RNP,Required Navigation Performance
|
||||||
ROC,Rate Of Climb
|
ROC,Rate Of Climb
|
||||||
ROC,Required Obstacle Clearance
|
ROC,Required Obstacle Clearance
|
||||||
RPM,Revolutions Per Minute
|
|
||||||
RPS,Radar Position Symbol
|
RPS,Radar Position Symbol
|
||||||
RRPM,Rotor Rotations per Minute
|
RRPM,Rotor Rotations per Minute
|
||||||
RSA,Runway Safety Area
|
RSA,Runway Safety Area
|
||||||
@ -555,7 +559,7 @@ VCS,Voice Communication System
|
|||||||
VCCS,Voice Communication Control System
|
VCCS,Voice Communication Control System
|
||||||
VCOA,Visual Climb Over Airport
|
VCOA,Visual Climb Over Airport
|
||||||
VDF,Very High Frequency Direction Finding
|
VDF,Very High Frequency Direction Finding
|
||||||
VDGS,Visual Database Generation System
|
VDGS,"Visual Docking Guidance System, Visual Database Generation System"
|
||||||
VDL-4,VHF digital link Mode 4 (see also STDMA)
|
VDL-4,VHF digital link Mode 4 (see also STDMA)
|
||||||
VDU,Visual Display Unit
|
VDU,Visual Display Unit
|
||||||
VFS,Vertical Flight Society
|
VFS,Vertical Flight Society
|
||||||
|
Can't render this file because it has a wrong number of fields in line 139.
|
@ -425,7 +425,6 @@ HOAc,Acetic Acid
|
|||||||
HOMO,Highest Occupied Molecular Orbital
|
HOMO,Highest Occupied Molecular Orbital
|
||||||
HOQS,Highest Occupied Quantum State
|
HOQS,Highest Occupied Quantum State
|
||||||
HP,High Pressure
|
HP,High Pressure
|
||||||
hp,horsepower
|
|
||||||
HPHT,High Pressure/High Temperature
|
HPHT,High Pressure/High Temperature
|
||||||
HPLC,High Pressure Liquid Chromatography
|
HPLC,High Pressure Liquid Chromatography
|
||||||
HPPT,High Pressure Phase Transformation
|
HPPT,High Pressure Phase Transformation
|
||||||
@ -926,7 +925,6 @@ RO,Reverse Osmosis
|
|||||||
ROHS,Restriction Of Hazardous Substances
|
ROHS,Restriction Of Hazardous Substances
|
||||||
ROS,Reactive Oxygen Species
|
ROS,Reactive Oxygen Species
|
||||||
ROWPU,Reverse Osmosis Water Purification Unit
|
ROWPU,Reverse Osmosis Water Purification Unit
|
||||||
RPM,Revolutions Per Minute
|
|
||||||
RPT,Repeat
|
RPT,Repeat
|
||||||
RSC,Royal Society of Chemistry
|
RSC,Royal Society of Chemistry
|
||||||
RT,Energy (Rydberg Constant x Temperature)
|
RT,Energy (Rydberg Constant x Temperature)
|
||||||
|
|
@ -153,7 +153,9 @@ AFP,Apple Filing Protocol
|
|||||||
AFS,Andrew file system
|
AFS,Andrew file system
|
||||||
aglet,agile applet
|
aglet,agile applet
|
||||||
AGP,Accelerated Graphics Port
|
AGP,Accelerated Graphics Port
|
||||||
|
AGI,Artificial General Intelligence
|
||||||
AHA,Accelerated Hub Architecture
|
AHA,Accelerated Hub Architecture
|
||||||
|
AHCI,Advanced Host Controller Interface
|
||||||
AHIMA,American Health Information Management Association
|
AHIMA,American Health Information Management Association
|
||||||
AHRQ,Agency for Healthcare Research and Quality
|
AHRQ,Agency for Healthcare Research and Quality
|
||||||
AHT,average handle time
|
AHT,average handle time
|
||||||
@ -203,7 +205,7 @@ API,Application Programming Interface
|
|||||||
APICS,American Production and Inventory Control Society
|
APICS,American Production and Inventory Control Society
|
||||||
APIPA,Automatic Private IP Addressing
|
APIPA,Automatic Private IP Addressing
|
||||||
APL,a programming language
|
APL,a programming language
|
||||||
APM,"application performance monitoring, application portfolio management"
|
APM,"Advanced Power Management, Application Performance Monitoring, Application Portfolio Management"
|
||||||
APO,"Advanced Planner and Optimizer, advanced planning and optimization"
|
APO,"Advanced Planner and Optimizer, advanced planning and optimization"
|
||||||
AppBlast,Project AppBlast
|
AppBlast,Project AppBlast
|
||||||
APPC,Advanced Program-to-Program Communication or LU 6.2
|
APPC,Advanced Program-to-Program Communication or LU 6.2
|
||||||
@ -281,10 +283,6 @@ AWS,Amazon Web Services
|
|||||||
AWT,Abstract Window Toolkit
|
AWT,Abstract Window Toolkit
|
||||||
AXI,automated X-ray inspection
|
AXI,automated X-ray inspection
|
||||||
AXT,alien crosstalk
|
AXT,alien crosstalk
|
||||||
B2B,Business to Business
|
|
||||||
B2C,Business to Consumer
|
|
||||||
B2G,"Business to Government, or Bitcoin2Gen"
|
|
||||||
B2E,Business to Employee
|
|
||||||
B8ZS,"bipolar 8-zero substitution, binary 8-zero substitution, clear channel, clear 64"
|
B8ZS,"bipolar 8-zero substitution, binary 8-zero substitution, clear channel, clear 64"
|
||||||
BA,business agility
|
BA,business agility
|
||||||
BA,business analytics
|
BA,business analytics
|
||||||
@ -862,6 +860,7 @@ DRP,Distribution Requirements Planning
|
|||||||
DRS,Storage Distributed Resource Scheduler
|
DRS,Storage Distributed Resource Scheduler
|
||||||
DSB,Dispute Settlement Body
|
DSB,Dispute Settlement Body
|
||||||
DSC,Digital Still Camera
|
DSC,Digital Still Camera
|
||||||
|
DSL,Domain-Specific Language
|
||||||
DSLAM,Digital Subscriber Line Access Multiplexer
|
DSLAM,Digital Subscriber Line Access Multiplexer
|
||||||
DSLR,camera digital single lense reflux
|
DSLR,camera digital single lense reflux
|
||||||
DSML,Directory Services Markup Language
|
DSML,Directory Services Markup Language
|
||||||
@ -1355,7 +1354,6 @@ HMIPv6,Hierarchical Mobile IPv6
|
|||||||
HMM,Hidden Markov Model
|
HMM,Hidden Markov Model
|
||||||
HOLAP,hybrid online analytical processing
|
HOLAP,hybrid online analytical processing
|
||||||
HomeRF,home radio frequency
|
HomeRF,home radio frequency
|
||||||
HP,Hewlett-Packard
|
|
||||||
HP,High Performance
|
HP,High Performance
|
||||||
HP-GL,Hewlett-Packard Graphics Language
|
HP-GL,Hewlett-Packard Graphics Language
|
||||||
HPC,High-Performance Computing
|
HPC,High-Performance Computing
|
||||||
@ -1801,6 +1799,7 @@ NCA,native cloud application
|
|||||||
NCFA,National Call Fee Access
|
NCFA,National Call Fee Access
|
||||||
NCM,network configuration management
|
NCM,network configuration management
|
||||||
NCMS,National Center for Manufacturing Sciences
|
NCMS,National Center for Manufacturing Sciences
|
||||||
|
NCQ,Native Command Queuing
|
||||||
NCSC,National Computer Security Center
|
NCSC,National Computer Security Center
|
||||||
NCVHS,National Committee on Vital and Health Statistics
|
NCVHS,National Committee on Vital and Health Statistics
|
||||||
NDA,non-disclosure agreement
|
NDA,non-disclosure agreement
|
||||||
@ -1911,7 +1910,6 @@ OID,object ID
|
|||||||
OLA,operational level agreement
|
OLA,operational level agreement
|
||||||
OLAP,online analytical processing
|
OLAP,online analytical processing
|
||||||
OLE,Object Linking and Embedding
|
OLE,Object Linking and Embedding
|
||||||
OLED,light-emitting diode
|
|
||||||
OLPC,One Laptop Per Child
|
OLPC,One Laptop Per Child
|
||||||
OLT,optical line terminal
|
OLT,optical line terminal
|
||||||
OLTP,On Line Transaction Processing
|
OLTP,On Line Transaction Processing
|
||||||
@ -2229,15 +2227,12 @@ RoT,Roots of Trust
|
|||||||
ROU,Record Of Understanding
|
ROU,Record Of Understanding
|
||||||
ROWE,Results-Only Work Environment
|
ROWE,Results-Only Work Environment
|
||||||
RPC,Remote Procedure Call
|
RPC,Remote Procedure Call
|
||||||
RPG,Report Program Generator
|
RPG,"Report Program Generator, Role-Playing Game"
|
||||||
RPG,Role-Playing Game
|
RPM,"Rapid Response Manufacturing, Remote Patient Monitoring, Red Hat Package Manager"
|
||||||
RPM,Rapid Response Manufacturing
|
RPO,"Recovery Point Objective, Recruitment Process Outsourcing"
|
||||||
RPM,remote patient monitoring
|
|
||||||
RPO,recovery point objective
|
|
||||||
RPO,recruitment process outsourcing
|
|
||||||
RPR,Resilient Packet Ring
|
RPR,Resilient Packet Ring
|
||||||
RPT,rich presence technology
|
RPT,Rich Presence Technology
|
||||||
RQ,risk intelligence
|
RQ,Risk Intelligence
|
||||||
RRAM,resistive RAM
|
RRAM,resistive RAM
|
||||||
RSAT,Microsoft Remote Server Administration Tools
|
RSAT,Microsoft Remote Server Administration Tools
|
||||||
RSC,Retail Service Center
|
RSC,Retail Service Center
|
||||||
|
|
@ -159,7 +159,7 @@ ADM,"Administrative,,Admiral,and the U.S. Public Health Service Commissioned Cor
|
|||||||
ADOA,Air Defence Operations Area
|
ADOA,Air Defence Operations Area
|
||||||
ADP,"Adenosine DiPhosphate,Army Doctrine Publication (UK,Canada,Australia),Automatic/Automated Data Processing"
|
ADP,"Adenosine DiPhosphate,Army Doctrine Publication (UK,Canada,Australia),Automatic/Automated Data Processing"
|
||||||
ADRG,Arc-second Raster Chart (ARC) Digitized Raster Graphics
|
ADRG,Arc-second Raster Chart (ARC) Digitized Raster Graphics
|
||||||
ADS,"Active Denial System,Astrophysics Data System,Attention Deficit Syndrome"
|
ADS,"Active Denial System, Astrophysics Data System, Attention Deficit Syndrome"
|
||||||
ADSR,"Attack,Decay,Sustain,Release (sound envelope specification)"
|
ADSR,"Attack,Decay,Sustain,Release (sound envelope specification)"
|
||||||
ADT,Atlantic Daylight Time (UTC−3 hours)
|
ADT,Atlantic Daylight Time (UTC−3 hours)
|
||||||
ADTB,Army Doctrine and Training Bulletin
|
ADTB,Army Doctrine and Training Bulletin
|
||||||
@ -500,6 +500,10 @@ AYU,As Yet Unknown
|
|||||||
AZ,"Arizona (postal symbol),Azerbaijan (ISO 3166 digram),Alkmaar Zaanstreek (Dutch football club)"
|
AZ,"Arizona (postal symbol),Azerbaijan (ISO 3166 digram),Alkmaar Zaanstreek (Dutch football club)"
|
||||||
AZE,Azerbaijan (ISO 3166 trigram)
|
AZE,Azerbaijan (ISO 3166 trigram)
|
||||||
AZUR,"Actions en zone urbaine (French for: Urban Operations)"
|
AZUR,"Actions en zone urbaine (French for: Urban Operations)"
|
||||||
|
B2B,Business to Business
|
||||||
|
B2C,Business to Consumer
|
||||||
|
B2G,Business to Government
|
||||||
|
B2E,Business to Employee
|
||||||
BAR,"Barbados (IOC trigram,but not FIFA or ISO 3166),British American Racing,Browning Automatic Rifle,Buy-American Restrictions,BARD , Binational Agricultural Research and Development fund (between the US and Israel),BARDA , Biomedical Advanced Research and Development Agency,BART , Bay Area Rapid Transit,BAS , Battalion Aid Station,BASE , Building,Antenna,Span,Earth (parachute from),BASF , Badische Anilin und Soda Fabrik (Baden Aniline and Soda Factory,a German chemicals company),BASIC , Beginner's All-purpose Symbolic Instruction Code (acronym was added later,originally it was simply Basic),BAT , Basic Aid Training,BATF , U.S. Bureau of Alcohol,Tobacco,and Firearms,BATS , Behavior Analysis Training System ,Bradley Advanced Training System,BATTeRS , Bisei Asteroid Tracking Telescope for Rapid Survey,BB[edit]"
|
BAR,"Barbados (IOC trigram,but not FIFA or ISO 3166),British American Racing,Browning Automatic Rifle,Buy-American Restrictions,BARD , Binational Agricultural Research and Development fund (between the US and Israel),BARDA , Biomedical Advanced Research and Development Agency,BART , Bay Area Rapid Transit,BAS , Battalion Aid Station,BASE , Building,Antenna,Span,Earth (parachute from),BASF , Badische Anilin und Soda Fabrik (Baden Aniline and Soda Factory,a German chemicals company),BASIC , Beginner's All-purpose Symbolic Instruction Code (acronym was added later,originally it was simply Basic),BAT , Basic Aid Training,BATF , U.S. Bureau of Alcohol,Tobacco,and Firearms,BATS , Behavior Analysis Training System ,Bradley Advanced Training System,BATTeRS , Bisei Asteroid Tracking Telescope for Rapid Survey,BB[edit]"
|
||||||
BB,"Barbados (ISO 3166 digram),Boys' Brigade (Christian youth organization),Brigitte Bardot (actress),Bumblebee"
|
BB,"Barbados (ISO 3166 digram),Boys' Brigade (Christian youth organization),Brigitte Bardot (actress),Bumblebee"
|
||||||
BBB,"Better Business Bureau,Blood-brain barrier"
|
BBB,"Better Business Bureau,Blood-brain barrier"
|
||||||
@ -1783,7 +1787,7 @@ GFE,Girlfriend experience (used in escort services),Good Faith Estimate,Governme
|
|||||||
GFI,Ground Fault Interruptor (aka GFCI)
|
GFI,Ground Fault Interruptor (aka GFCI)
|
||||||
GFL,German Football League (Germany's Bundesliga for American football; the English-language name is used in German without translation)
|
GFL,German Football League (Germany's Bundesliga for American football; the English-language name is used in German without translation)
|
||||||
GFN,Global Footprint Network
|
GFN,Global Footprint Network
|
||||||
GFY,"good for you" or "go fuck yourself",depending on the context (Internet chat)
|
GFY,"'good for you' or 'go fuck yourself', depending on the context (Internet chat)"
|
||||||
GGK,Good God Karma
|
GGK,Good God Karma
|
||||||
GGP,General Game Playing,General Growth Properties (U.S. shopping center owner),GH[edit]
|
GGP,General Game Playing,General Growth Properties (U.S. shopping center owner),GH[edit]
|
||||||
GH,Ghana (ISO 3166 digram),Gigahenry
|
GH,Ghana (ISO 3166 digram),Gigahenry
|
||||||
@ -4041,8 +4045,6 @@ RAE,UK Royal Aircraft Establishment (-1991)
|
|||||||
RAF,Red Army Faction,Royal Air Force
|
RAF,Red Army Faction,Royal Air Force
|
||||||
RAG,Raising and Giving,Rocket Antitank Grenade
|
RAG,Raising and Giving,Rocket Antitank Grenade
|
||||||
RAGBRAI,Register's Annual Great Bicycle Ride Across Iowa
|
RAGBRAI,Register's Annual Great Bicycle Ride Across Iowa
|
||||||
RAM,Rolling Airframe Missile,
|
|
||||||
RAM,Royal Air Maroc
|
|
||||||
Ramark,RAdar MARKer
|
Ramark,RAdar MARKer
|
||||||
RAOC,Rear Area Operation Centre
|
RAOC,Rear Area Operation Centre
|
||||||
RAP, Radio Access Point,Radiological Assistance Program (U.S. Department of Energy),Rear Area Protection,Recognised [Operating/Operational] Air Picture,Recurring Advance Payment,Relational Associative Processor,Reliable Acoustic Path,Rocket-Assisted Projectile,Rule Against Perpetuities
|
RAP, Radio Access Point,Radiological Assistance Program (U.S. Department of Energy),Rear Area Protection,Recognised [Operating/Operational] Air Picture,Recurring Advance Payment,Relational Associative Processor,Reliable Acoustic Path,Rocket-Assisted Projectile,Rule Against Perpetuities
|
||||||
@ -4176,8 +4178,7 @@ RPD,Recognition-Primed Decision-making
|
|||||||
RPF,Rwandan Patriotic Front
|
RPF,Rwandan Patriotic Front
|
||||||
RPG,(US-CA) Regional Planning Group,Report Program Generator,Rocket Projectile Gun,Rocket-Propelled Grenade,Role-Playing Game
|
RPG,(US-CA) Regional Planning Group,Report Program Generator,Rocket Projectile Gun,Rocket-Propelled Grenade,Role-Playing Game
|
||||||
RPL,Reverse Polish Lisp
|
RPL,Reverse Polish Lisp
|
||||||
RPM,Records,Promotion,Music (expansion of the title of a former Canadian music magazine),Red Hat Package Manager
|
RPM,Revolutions Per Minute
|
||||||
rpm,revolutions per minute
|
|
||||||
RPN,reverse Polish notation
|
RPN,reverse Polish notation
|
||||||
RPO,Radiation Protection Officer,Regular Production Option,RPR-FOM,Realtime Platform Reference Federation Object Model ("reaper fomm")
|
RPO,Radiation Protection Officer,Regular Production Option,RPR-FOM,Realtime Platform Reference Federation Object Model ("reaper fomm")
|
||||||
rps,revolutions per second
|
rps,revolutions per second
|
||||||
|
Can't render this file because it has a wrong number of fields in line 8.
|
@ -618,7 +618,7 @@ R&D,Research & Development
|
|||||||
R&R,Rest and Recuperation
|
R&R,Rest and Recuperation
|
||||||
RA,Risk Assessment
|
RA,Risk Assessment
|
||||||
RAAWS,Radar Altimeter and Altitude Warning System
|
RAAWS,Radar Altimeter and Altitude Warning System
|
||||||
RAM,Radar Absorbing Material
|
RAM,"Radar Absorbing Material, Rolling Airframe Missile"
|
||||||
RAST,Recovery Assist, Secure and Traverse system
|
RAST,Recovery Assist, Secure and Traverse system
|
||||||
RATO,Rocket-Assisted Take-Off
|
RATO,Rocket-Assisted Take-Off
|
||||||
RC,Reserve Component
|
RC,Reserve Component
|
||||||
@ -642,8 +642,6 @@ ROE,Rules of Engagement
|
|||||||
ROZ,Restricted Operations Zone
|
ROZ,Restricted Operations Zone
|
||||||
RP,Rocket Propelled
|
RP,Rocket Propelled
|
||||||
RPG,Rocket Propelled Grenade
|
RPG,Rocket Propelled Grenade
|
||||||
RPM,Revolutions Per Minute
|
|
||||||
RPM,Rounds Per Minute
|
|
||||||
RPV,Remotely-Piloted Vehicle
|
RPV,Remotely-Piloted Vehicle
|
||||||
RR,Reattack Recommendation
|
RR,Reattack Recommendation
|
||||||
RRCC,Regional Response Coordination Center
|
RRCC,Regional Response Coordination Center
|
||||||
|
Can't render this file because it has a wrong number of fields in line 63.
|
@ -67,7 +67,7 @@ REM,"An Athens, Georgia-based alt-rock group"
|
|||||||
rit,Ritardando (“slowing down”)
|
rit,Ritardando (“slowing down”)
|
||||||
Rf,Rinforzando (“with sudden force”)
|
Rf,Rinforzando (“with sudden force”)
|
||||||
Rfz,Rinforzando (“with sudden force”)
|
Rfz,Rinforzando (“with sudden force”)
|
||||||
rpm,Revolutions per minute
|
RPM,"Records,Promotion,Music (expansion of the title of a former Canadian music magazine)"
|
||||||
sax,Saxophone
|
sax,Saxophone
|
||||||
sf,"Sforzando, Sforzato (“sudden accent”)"
|
sf,"Sforzando, Sforzato (“sudden accent”)"
|
||||||
sfz,"Sforzando, Sforzato (“sudden accent”)"
|
sfz,"Sforzando, Sforzato (“sudden accent”)"
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
APPLICATION, CATEGORY, APPID,
|
APPLICATION, CATEGORY, APPID,
|
||||||
"7-Zip for Windows", "file utility", "XPDNKVCX4QD2DC",
|
"7-Zip", "file utility", "7zip.7zip",
|
||||||
"Aquile Reader", "ebook reader", "9P08T4JLTQNK",
|
"Aquile Reader", "ebook reader", "9P08T4JLTQNK",
|
||||||
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM",
|
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM",
|
||||||
"Dopamine", "audio player", "Digimezzo.Dopamine.2",
|
"Dopamine", "audio player", "Digimezzo.Dopamine.2",
|
||||||
@ -25,6 +25,7 @@ APPLICATION, CATEGORY, APPID,
|
|||||||
"OBS Studio", "video recorder", "XPFFH613W8V6LV",
|
"OBS Studio", "video recorder", "XPFFH613W8V6LV",
|
||||||
"One Calendar", "desktop calendar", "9WZDNCRDR0SF",
|
"One Calendar", "desktop calendar", "9WZDNCRDR0SF",
|
||||||
"Pandoc", "document converter", "JohnMacFarlane.Pandoc",
|
"Pandoc", "document converter", "JohnMacFarlane.Pandoc",
|
||||||
|
"PrusaSlicer", "3D object slicer", "Prusa3D.PrusaSlicer",
|
||||||
"Rufus", "ISO image writer", "9PC3H3V7Q9CH",
|
"Rufus", "ISO image writer", "9PC3H3V7Q9CH",
|
||||||
"Signal", "messenger", "OpenWhisperSystems.Signal",
|
"Signal", "messenger", "OpenWhisperSystems.Signal",
|
||||||
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools",
|
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools",
|
||||||
|
|
@ -16,6 +16,7 @@ NAME,URL,
|
|||||||
"YouTube Music Charts","https://charts.youtube.com/",
|
"YouTube Music Charts","https://charts.youtube.com/",
|
||||||
"Webcams","https://www.foto-webcam.eu",
|
"Webcams","https://www.foto-webcam.eu",
|
||||||
"Peak Zugspitze","https://zugspitze.panomax.com",
|
"Peak Zugspitze","https://zugspitze.panomax.com",
|
||||||
"Airport Salzburg","https://livecam.salzburg-airport.com",
|
"Salzburg Airport","https://livecam.salzburg-airport.com",
|
||||||
|
"Munich Airport","https://www.flightradar24.com/data/airports/muc",
|
||||||
"Windy Weather Radar","https://www.windy.com/de/-Weather-radar-radar",
|
"Windy Weather Radar","https://www.windy.com/de/-Weather-radar-radar",
|
||||||
"Windy Weather Temperatures","https://www.windy.com/-Temperature-temp",
|
"Windy Weather Temperatures","https://www.windy.com/-Temperature-temp",
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW,
|
FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW,
|
||||||
base256unicode, "dev tool", "git@github.com:fleschutz/base256unicode.git", main, yes,
|
base256, "dev tool", "git@github.com:fleschutz/base256.git", main, yes,
|
||||||
bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes,
|
bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes,
|
||||||
cmake, "build tool", "https://github.com/Kitware/CMake", master, yes,
|
cmake, "build tool", "https://github.com/Kitware/CMake", master, yes,
|
||||||
cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes,
|
cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes,
|
||||||
@ -15,8 +15,6 @@ llvm, "compiler", "https://github.com/llvm/llvm-project",
|
|||||||
LSS, "math tool", "git@github.com:fleschutz/LSS.git", main, yes,
|
LSS, "math tool", "git@github.com:fleschutz/LSS.git", main, yes,
|
||||||
ninja, "build tool", "https://github.com/ninja-build/ninja", master, yes,
|
ninja, "build tool", "https://github.com/ninja-build/ninja", master, yes,
|
||||||
opencv, "dev lib", "https://github.com/opencv/opencv", master, yes,
|
opencv, "dev lib", "https://github.com/opencv/opencv", master, yes,
|
||||||
operating-systems, "OS collection", "git@github.com:fleschutz/operating-systems.git", main, yes,
|
|
||||||
papers, "collection", "git@github.com:fleschutz/papers.git", main, yes,
|
|
||||||
PowerShell, "script collection", "git@github.com:fleschutz/PowerShell.git", main, yes,
|
PowerShell, "script collection", "git@github.com:fleschutz/PowerShell.git", main, yes,
|
||||||
pwsh, "shell", "https://github.com/PowerShell/PowerShell", master, yes,
|
pwsh, "shell", "https://github.com/PowerShell/PowerShell", master, yes,
|
||||||
protobuf, "dev lib", "https://github.com/protocolbuffers/protobuf", main, yes,
|
protobuf, "dev lib", "https://github.com/protocolbuffers/protobuf", main, yes,
|
||||||
|
|
@ -1,19 +1,17 @@
|
|||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
← enter overview of script here
|
← enter a brief description of the script here
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
← enter brief description of script here
|
← enter a detailed description of the script here
|
||||||
.INPUTS
|
.PARAMETER
|
||||||
← enter inputs here (if any, otherwise state None)
|
← enter the description of a parameter here (repeat the .PARAMETER for each parameter)
|
||||||
.OUTPUTS
|
|
||||||
← enter outputs here (if any, otherwise state None)
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> .\template.ps1 ← enter example here (repeat this attribute for more than one example)
|
← enter a sample command that uses the script, optionally followed by sample output and a description (repeat the .EXAMPLE for each example)
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: ← enter full name here
|
Author: ← enter full name here
|
||||||
License: ← enter license here
|
License: ← enter license here
|
||||||
.LINK
|
.LINK
|
||||||
← enter URL here
|
← enter URL to additional information here
|
||||||
#>
|
#>
|
||||||
|
|
||||||
#requires -version 4
|
#requires -version 4
|
||||||
@ -26,8 +24,8 @@ try {
|
|||||||
# ← enter instructions here
|
# ← enter instructions here
|
||||||
|
|
||||||
"✔️ Done."
|
"✔️ Done."
|
||||||
exit 0
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*add-firewall-rules.ps1*
|
Script: *add-firewall-rules.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||||
|
|
||||||
@ -113,4 +113,4 @@ try {
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*add-memo.ps1*
|
Script: *add-memo.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script saves the given memo text to Memos.csv in your home folder.
|
This PowerShell script saves the given memo text to Memos.csv in your home folder.
|
||||||
|
|
||||||
@ -79,4 +79,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*alert.ps1*
|
Script: *alert.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script handles and escalates the given alert message.
|
This PowerShell script handles and escalates the given alert message.
|
||||||
|
|
||||||
@ -71,4 +71,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*build-repo.ps1*
|
Script: *build-repo.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
||||||
|
|
||||||
@ -66,19 +66,22 @@ param([string]$path = "$PWD")
|
|||||||
function BuildInDir([string]$path) {
|
function BuildInDir([string]$path) {
|
||||||
$dirName = (Get-Item "$path").Name
|
$dirName = (Get-Item "$path").Name
|
||||||
if (Test-Path "$path/CMakeLists.txt" -pathType leaf) {
|
if (Test-Path "$path/CMakeLists.txt" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using CMake into 📂$dirName/_My_Build..."
|
"⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_My_Build..."
|
||||||
if (-not(Test-Path "$path/_My_Build/" -pathType container)) {
|
if (-not(Test-Path "$path/_My_Build/" -pathType container)) {
|
||||||
& mkdir "$path/_My_Build/"
|
& mkdir "$path/_My_Build/"
|
||||||
}
|
}
|
||||||
Set-Location "$path/_My_Build/"
|
Set-Location "$path/_My_Build/"
|
||||||
|
|
||||||
|
"⏳ (2/4) Executing 'cmake' to generate the Makefile..."
|
||||||
& cmake ..
|
& cmake ..
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
||||||
|
|
||||||
|
"⏳ (3/4) Executing 'make -j4' to compile and link..."
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||||
|
|
||||||
& make test
|
"⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..."
|
||||||
|
& ctest -V
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/configure" -pathType leaf) {
|
} elseif (Test-Path "$path/configure" -pathType leaf) {
|
||||||
@ -181,7 +184,7 @@ try {
|
|||||||
|
|
||||||
$repoDirName = (Get-Item "$path").Name
|
$repoDirName = (Get-Item "$path").Name
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Built 📂$repoDirName in $elapsed sec"
|
"✔️ Built repo 📂$repoDirName in $elapsed sec"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -189,4 +192,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*build-repos.ps1*
|
Script: *build-repos.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script builds all Git repositories in a folder.
|
This PowerShell script builds all Git repositories in a folder.
|
||||||
|
|
||||||
@ -82,4 +82,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-autostart.ps1*
|
Script: *cd-autostart.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's autostart folder.
|
This PowerShell script changes the working directory to the user's autostart folder.
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-crashdumps.ps1*
|
Script: *cd-crashdumps.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
||||||
|
|
||||||
@ -63,4 +63,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-desktop.ps1*
|
Script: *cd-desktop.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's desktop folder.
|
This PowerShell script changes the working directory to the user's desktop folder.
|
||||||
|
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-docs.ps1*
|
Script: *cd-docs.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the documents folder.
|
This PowerShell script changes the working directory to the documents folder.
|
||||||
|
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-downloads.ps1*
|
Script: *cd-downloads.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's downloads folder.
|
This PowerShell script changes the working directory to the user's downloads folder.
|
||||||
|
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-dropbox.ps1*
|
Script: *cd-dropbox.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-etc.ps1*
|
Script: *cd-etc.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the /etc directory.
|
This PowerShell script changes the working directory to the /etc directory.
|
||||||
|
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-fonts.ps1*
|
Script: *cd-fonts.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the fonts folder.
|
This PowerShell script changes the working directory to the fonts folder.
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-home.ps1*
|
Script: *cd-home.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's home directory.
|
This PowerShell script changes the working directory to the user's home directory.
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-logs.ps1*
|
Script: *cd-logs.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
cd-logs.ps1
|
cd-logs.ps1
|
||||||
|
|
||||||
@ -48,4 +48,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-music.ps1*
|
Script: *cd-music.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's music folder.
|
This PowerShell script changes the working directory to the user's music folder.
|
||||||
|
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-onedrive.ps1*
|
Script: *cd-onedrive.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-pics.ps1*
|
Script: *cd-pics.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's pictures folder.
|
This PowerShell script changes the working directory to the user's pictures folder.
|
||||||
|
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-public.ps1*
|
Script: *cd-public.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the Public folder.
|
This PowerShell script changes the working directory to the Public folder.
|
||||||
|
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-recycle-bin.ps1*
|
Script: *cd-recycle-bin.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
cd-recycle-bin.ps1
|
cd-recycle-bin.ps1
|
||||||
|
|
||||||
@ -53,4 +53,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-repos.ps1*
|
Script: *cd-repos.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
This PowerShell script changes the working directory to the user's Git repositories folder.
|
||||||
|
|
||||||
@ -80,4 +80,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-root.ps1*
|
Script: *cd-root.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
||||||
|
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-screenshots.ps1*
|
Script: *cd-screenshots.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
cd-screenshots.ps1
|
cd-screenshots.ps1
|
||||||
|
|
||||||
@ -55,4 +55,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-scripts.ps1*
|
Script: *cd-scripts.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-scripts
|
PS> ./cd-scripts
|
||||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
📂C:\Users\Markus\source\repos\PowerShell\scripts
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-scripts
|
PS> ./cd-scripts
|
||||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
📂C:\Users\Markus\source\repos\PowerShell\scripts
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-ssh.ps1*
|
Script: *cd-ssh.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's SSH folder.
|
This PowerShell script changes the working directory to the user's SSH folder.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-temp.ps1*
|
Script: *cd-temp.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
cd-temp.ps1
|
cd-temp.ps1
|
||||||
|
|
||||||
@ -50,4 +50,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-templates.ps1*
|
Script: *cd-templates.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the templates folder.
|
This PowerShell script changes the working directory to the templates folder.
|
||||||
|
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-trash.ps1*
|
Script: *cd-trash.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
cd-trash.ps1
|
cd-trash.ps1
|
||||||
|
|
||||||
@ -53,4 +53,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-up.ps1*
|
Script: *cd-up.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to one directory level up.
|
This PowerShell script changes the working directory to one directory level up.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-up2.ps1*
|
Script: *cd-up2.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to two directory level up.
|
This PowerShell script changes the working directory to two directory level up.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-up3.ps1*
|
Script: *cd-up3.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to three directory levels up.
|
This PowerShell script changes the working directory to three directory levels up.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-up4.ps1*
|
Script: *cd-up4.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to four directory levels up.
|
This PowerShell script changes the working directory to four directory levels up.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-users.ps1*
|
Script: *cd-users.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the users directory.
|
This PowerShell script changes the working directory to the users directory.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-videos.ps1*
|
Script: *cd-videos.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's videos folder.
|
This PowerShell script changes the working directory to the user's videos folder.
|
||||||
|
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*cd-windows.ps1*
|
Script: *cd-windows.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the Windows directory.
|
This PowerShell script changes the working directory to the Windows directory.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*change-wallpaper.ps1*
|
Script: *change-wallpaper.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
||||||
|
|
||||||
@ -79,4 +79,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-admin.ps1*
|
Script: *check-admin.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks if the user has administrator rights.
|
This PowerShell script checks if the user has administrator rights.
|
||||||
|
|
||||||
@ -67,4 +67,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-apps.ps1*
|
Script: *check-apps.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the installed applications and prints it.
|
This PowerShell script queries the installed applications and prints it.
|
||||||
|
|
||||||
@ -48,13 +48,13 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Progress "⏳ Querying installed applications..."
|
Write-Progress "Querying installed applications..."
|
||||||
$numPkgs = (apt list --installed 2>/dev/null).Count
|
$numPkgs = (apt list --installed 2>/dev/null).Count
|
||||||
$numSnaps = (snap list).Count - 1
|
$numSnaps = (snap list).Count - 1
|
||||||
Write-Progress -Completed "."
|
Write-Progress -Completed "."
|
||||||
Write-Host "✅ $numPkgs Debian packages, $numSnaps snaps installed"
|
Write-Host "✅ $numPkgs Debian packages, $numSnaps snaps installed"
|
||||||
} else {
|
} else {
|
||||||
Write-Progress "⏳ Querying installed applications..."
|
Write-Progress "Querying installed applications..."
|
||||||
$Apps = Get-AppxPackage
|
$Apps = Get-AppxPackage
|
||||||
Write-Progress -Completed "."
|
Write-Progress -Completed "."
|
||||||
Write-Host "✅ $($Apps.Count) Windows apps installed, " -noNewline
|
Write-Host "✅ $($Apps.Count) Windows apps installed, " -noNewline
|
||||||
@ -75,4 +75,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-bios.ps1*
|
Script: *check-bios.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the BIOS status and prints it.
|
This PowerShell script queries the BIOS status and prints it.
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Progress "⏳ Querying BIOS details..."
|
Write-Progress "Querying BIOS details..."
|
||||||
$model = (sudo dmidecode -s system-product-name)
|
$model = (sudo dmidecode -s system-product-name)
|
||||||
if ("$model" -ne "") {
|
if ("$model" -ne "") {
|
||||||
$version = (sudo dmidecode -s bios-version)
|
$version = (sudo dmidecode -s bios-version)
|
||||||
@ -76,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-cpu.ps1*
|
Script: *check-cpu.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-cpu.ps1
|
check-cpu.ps1
|
||||||
|
|
||||||
@ -24,14 +24,26 @@ Script Content
|
|||||||
This PowerShell script queries the CPU status (name, type, speed, temperature, etc) and prints it.
|
This PowerShell script queries the CPU status (name, type, speed, temperature, etc) and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-cpu.ps1
|
PS> ./check-cpu.ps1
|
||||||
✅ Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz (AMD64, 20 cores, CPU0, 3696MHz, CPU0 socket, 31.3°C)
|
✅ Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz (AMD64, 20 cores, CPU0, 3696MHz, CPU0 socket, 31.3°C)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
function GetProcessorTemperature {
|
function GetCPUArchitecture {
|
||||||
|
if ("$env:PROCESSOR_ARCHITECTURE" -ne "") { return "$env:PROCESSOR_ARCHITECTURE" }
|
||||||
|
if ($IsLinux) {
|
||||||
|
$Name = $PSVersionTable.OS
|
||||||
|
if ($Name -like "*-generic *") {
|
||||||
|
if ([System.Environment]::Is64BitOperatingSystem) { return "x64" } else { return "x86" }
|
||||||
|
} elseif ($Name -like "*-raspi *") {
|
||||||
|
if ([System.Environment]::Is64BitOperatingSystem) { return "ARM64" } else { return "ARM32" }
|
||||||
|
} elseif ([System.Environment]::Is64BitOperatingSystem) { return "64-bit" } else { return "32-bit" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function GetCPUTemperature {
|
||||||
$temp = 99999.9 # unsupported
|
$temp = 99999.9 # unsupported
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) {
|
if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) {
|
||||||
@ -48,37 +60,10 @@ function GetProcessorTemperature {
|
|||||||
return $temp
|
return $temp
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetProcessorArchitecture {
|
|
||||||
if ("$env:PROCESSOR_ARCHITECTURE" -ne "") { return "$env:PROCESSOR_ARCHITECTURE" }
|
|
||||||
if ($IsLinux) {
|
|
||||||
$Name = $PSVersionTable.OS
|
|
||||||
if ($Name -like "*-generic *") {
|
|
||||||
if ([System.Environment]::Is64BitOperatingSystem) { return "x64" } else { return "x86" }
|
|
||||||
} elseif ($Name -like "*-raspi *") {
|
|
||||||
if ([System.Environment]::Is64BitOperatingSystem) { return "ARM64" } else { return "ARM32" }
|
|
||||||
} else {
|
|
||||||
return ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "⏳ Querying CPU status... "
|
Write-Progress "Querying CPU status... "
|
||||||
$status = "✅"
|
$status = "✅"
|
||||||
$celsius = GetProcessorTemperature
|
$arch = GetCPUArchitecture
|
||||||
if ($celsius -eq 99999.9) {
|
|
||||||
$temp = "no temp"
|
|
||||||
} elseif ($celsius -gt 50) {
|
|
||||||
$temp = "$($celsius)°C"
|
|
||||||
$status = "⚠️"
|
|
||||||
} elseif ($celsius -lt 0) {
|
|
||||||
$temp = "$($celsius)°C"
|
|
||||||
$status = "⚠️"
|
|
||||||
} else {
|
|
||||||
$temp = "$($celsius)°C"
|
|
||||||
}
|
|
||||||
|
|
||||||
$arch = GetProcessorArchitecture
|
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$cpuName = "$arch CPU"
|
$cpuName = "$arch CPU"
|
||||||
$arch = ""
|
$arch = ""
|
||||||
@ -94,7 +79,20 @@ try {
|
|||||||
$socket = "$($details.SocketDesignation) socket, "
|
$socket = "$($details.SocketDesignation) socket, "
|
||||||
}
|
}
|
||||||
$cores = [System.Environment]::ProcessorCount
|
$cores = [System.Environment]::ProcessorCount
|
||||||
Write-Progress -completed " "
|
$celsius = GetCPUTemperature
|
||||||
|
if ($celsius -eq 99999.9) {
|
||||||
|
$temp = "no temp"
|
||||||
|
} elseif ($celsius -gt 50) {
|
||||||
|
$temp = "$($celsius)°C"
|
||||||
|
$status = "⚠️"
|
||||||
|
} elseif ($celsius -lt 0) {
|
||||||
|
$temp = "$($celsius)°C"
|
||||||
|
$status = "⚠️"
|
||||||
|
} else {
|
||||||
|
$temp = "$($celsius)°C"
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Progress -completed "Done."
|
||||||
Write-Host "$status $cpuName ($($arch)$cores cores, $($deviceID)$($speed)$($socket)$temp)"
|
Write-Host "$status $cpuName ($($arch)$cores cores, $($deviceID)$($speed)$($socket)$temp)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -103,4 +101,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
85
docs/check-credentials.md
Normal file
85
docs/check-credentials.md
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
Script: *check-credentials.ps1*
|
||||||
|
========================
|
||||||
|
|
||||||
|
This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default).
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-credentials.ps1 [[-TargetFile] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
|
-TargetFile <String>
|
||||||
|
Specifies the target file ("$HOME\my.credentials" by default)
|
||||||
|
|
||||||
|
Required? false
|
||||||
|
Position? 1
|
||||||
|
Default value "$HOME\my.credentials"
|
||||||
|
Accept pipeline input? false
|
||||||
|
Accept wildcard characters? false
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-credentials.ps1
|
||||||
|
Enter username and password, please.
|
||||||
|
✔️ Your credentials are correct.
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Checks credentials
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default).
|
||||||
|
.PARAMETER TargetFile
|
||||||
|
Specifies the target file ("$HOME\my.credentials" by default)
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./check-credentials.ps1
|
||||||
|
Enter username and password, please.
|
||||||
|
✔️ Your credentials are correct.
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
param([string]$TargetFile = "$HOME\my.credentials")
|
||||||
|
|
||||||
|
try {
|
||||||
|
Write-Host "Enter username and password, please." -foreground red
|
||||||
|
$credsFromUser = Get-Credential
|
||||||
|
|
||||||
|
$secureString = Get-Content "$TargetFile" | ConvertTo-SecureString
|
||||||
|
$credsFromFile = New-Object System.Management.Automation.PSCredential($credsFromUser.UserName, $secureString)
|
||||||
|
|
||||||
|
if ($credsFromUser.UserName -ne $credsFromFile.UserName) { throw "Sorry, your username is wrong." }
|
||||||
|
|
||||||
|
$pw1 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromUser.Password))
|
||||||
|
$pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password))
|
||||||
|
if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." }
|
||||||
|
|
||||||
|
"✔️ Your credentials are correct."
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 01/25/2024 13:58:36)*
|
@ -1,5 +1,5 @@
|
|||||||
*check-day.ps1*
|
Script: *check-day.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-dns.ps1*
|
Script: *check-dns.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it.
|
This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it.
|
||||||
|
|
||||||
@ -47,8 +47,8 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "⏳ Measuring DNS resolution..."
|
Write-Progress "Measuring DNS resolution..."
|
||||||
$table = Import-CSV "$PSScriptRoot/../Data/popular-domains.csv"
|
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
|
||||||
$numRows = $table.Length
|
$numRows = $table.Length
|
||||||
|
|
||||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
@ -73,4 +73,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
*check-drive-space.ps1*
|
Script: *check-drive-space.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks a drive for free space left (20 GB by default).
|
This PowerShell script checks the given drive for free space left (10 GB by default).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonParameters>]
|
PS> ./check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<CommonParameters>]
|
||||||
|
|
||||||
-Drive <String>
|
-driveName <String>
|
||||||
Specifies the drive to check
|
Specifies the drive name to check (e.g. "C")
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -17,12 +17,12 @@ PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonPa
|
|||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-MinLevel <Int32>
|
-minLevel <Int64>
|
||||||
Specifies the minimum level in Gigabyte
|
Specifies the minimum level in bytes (10GB by default)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 2
|
Position? 2
|
||||||
Default value 20
|
Default value 10000000
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
@ -34,8 +34,8 @@ PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonPa
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drive-space C
|
PS> ./check-drive-space.ps1 C
|
||||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
✅ Drive C: uses 56%, 442GB free of 999GB
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -52,38 +52,57 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Checks a drive for free space left
|
Checks the drive space
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script checks a drive for free space left (20 GB by default).
|
This PowerShell script checks the given drive for free space left (10 GB by default).
|
||||||
.PARAMETER Drive
|
.PARAMETER driveName
|
||||||
Specifies the drive to check
|
Specifies the drive name to check (e.g. "C")
|
||||||
.PARAMETER MinLevel
|
.PARAMETER minLevel
|
||||||
Specifies the minimum level in Gigabyte
|
Specifies the minimum level in bytes (10GB by default)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-drive-space C
|
PS> ./check-drive-space.ps1 C
|
||||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
✅ Drive C: uses 56%, 442GB free of 999GB
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param([string]$Drive = "", [int]$MinLevel = 20) # minimum level in GB
|
param([string]$driveName = "", [int64]$minLevel = 10 * 1000 * 1000) # GB
|
||||||
|
|
||||||
|
function Bytes2String { param([int64]$bytes)
|
||||||
|
if ($bytes -lt 1000) { return "$bytes bytes" }
|
||||||
|
$bytes /= 1000
|
||||||
|
if ($bytes -lt 1000) { return "$($bytes)KB" }
|
||||||
|
$bytes /= 1000
|
||||||
|
if ($bytes -lt 1000) { return "$($bytes)MB" }
|
||||||
|
$bytes /= 1000
|
||||||
|
if ($bytes -lt 1000) { return "$($bytes)GB" }
|
||||||
|
$bytes /= 1000
|
||||||
|
if ($bytes -lt 1000) { return "$($bytes)TB" }
|
||||||
|
$bytes /= 1000
|
||||||
|
return "$($bytes)PB"
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($Drive -eq "" ) { $Drive = read-host "Enter drive to check" }
|
if ($driveName -eq "" ) { $driveName = Read-Host "Enter the drive name to check" }
|
||||||
|
|
||||||
$DriveDetails = (get-psdrive $Drive)
|
$details = (Get-PSDrive $driveName)
|
||||||
[int]$Free = (($DriveDetails.Free / 1024) / 1024) / 1024
|
if (-not $IsLinux) { $driveName = $driveName + ":" }
|
||||||
[int]$Used = (($DriveDetails.Used / 1024) / 1024) / 1024
|
[int64]$free = $details.Free
|
||||||
[int]$Total = ($Used + $Free)
|
[int64]$used = $details.Used
|
||||||
|
[int64]$total = ($used + $free)
|
||||||
|
|
||||||
if ($Free -lt $MinLevel) {
|
if ($total -eq 0) {
|
||||||
write-warning "Drive $Drive has only $Free GB left to use! ($Used of $Total GB used, minimum is $MinLevel GB)"
|
Write-Host "✅ Drive $driveName is empty"
|
||||||
exit 1
|
} elseif ($free -eq 0) {
|
||||||
}
|
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is full"
|
||||||
|
} elseif ($free -lt $minLevel) {
|
||||||
& "$PSScriptRoot/speak-english.ps1" "Drive $Drive has $Free GB left ($Total GB total)"
|
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
||||||
|
} else {
|
||||||
|
[int]$percent = ($used * 100) / $total
|
||||||
|
Write-Host "✅ Drive $driveName uses $percent%, $(Bytes2String $free) free of $(Bytes2String $total)"
|
||||||
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -91,4 +110,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-drives.ps1*
|
Script: *check-drives.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the free space of all drives and prints it.
|
This PowerShell script queries the free space of all drives and prints it.
|
||||||
|
|
||||||
@ -76,10 +76,10 @@ function Bytes2String { param([int64]$bytes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "⏳ Querying drives..."
|
Write-Progress "Querying drives..."
|
||||||
$drives = Get-PSDrive -PSProvider FileSystem
|
$drives = Get-PSDrive -PSProvider FileSystem
|
||||||
$minLevel *= 1000 * 1000 * 1000
|
$minLevel *= 1000 * 1000 * 1000
|
||||||
Write-Progress -completed "."
|
Write-Progress -completed " "
|
||||||
foreach($drive in $drives) {
|
foreach($drive in $drives) {
|
||||||
$details = (Get-PSDrive $drive.Name)
|
$details = (Get-PSDrive $drive.Name)
|
||||||
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
||||||
@ -105,4 +105,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-dusk.ps1*
|
Script: *check-dusk.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-dusk.ps1
|
check-dusk.ps1
|
||||||
|
|
||||||
@ -63,4 +63,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-easter-sunday.ps1*
|
Script: *check-easter-sunday.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-file-system.ps1*
|
Script: *check-file-system.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the file system of a drive. It needs admin rights.
|
This PowerShell script checks the file system of a drive. It needs admin rights.
|
||||||
|
|
||||||
@ -75,4 +75,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-file.ps1*
|
Script: *check-file.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script determines and prints the file type of the given file.
|
This PowerShell script determines and prints the file type of the given file.
|
||||||
|
|
||||||
@ -170,4 +170,4 @@ function Check-Header { param( $path )
|
|||||||
Check-Header $Path
|
Check-Header $Path
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-firewall.ps1*
|
Script: *check-firewall.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the status of the firewall and prints it.
|
This PowerShell script queries the status of the firewall and prints it.
|
||||||
|
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-gpu.ps1*
|
Script: *check-gpu.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-gpu.ps1
|
check-gpu.ps1
|
||||||
|
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 10/19/2023 08:11:35)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-hardware.ps1*
|
Script: *check-hardware.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the hardware details of the local computer and prints it.
|
This PowerShell script queries the hardware details of the local computer and prints it.
|
||||||
|
|
||||||
@ -63,4 +63,4 @@ Script Content
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-health.ps1*
|
Script: *check-health.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
||||||
|
|
||||||
@ -58,4 +58,4 @@ Script Content
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-independence-day.ps1*
|
Script: *check-independence-day.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-ipv4-address.ps1*
|
Script: *check-ipv4-address.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the given IPv4 address for validity.
|
This PowerShell script checks the given IPv4 address for validity.
|
||||||
|
|
||||||
@ -84,4 +84,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-ipv6-address.ps1*
|
Script: *check-ipv6-address.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the given IPv6 address for validity
|
This PowerShell script checks the given IPv6 address for validity
|
||||||
|
|
||||||
@ -98,4 +98,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-iss-position.ps1*
|
Script: *check-iss-position.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -55,4 +55,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-mac-address.ps1*
|
Script: *check-mac-address.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the given MAC address for validity
|
This PowerShell script checks the given MAC address for validity
|
||||||
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
||||||
@ -87,4 +87,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-midnight.ps1*
|
Script: *check-midnight.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-midnight.ps1
|
check-midnight.ps1
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-month.ps1*
|
Script: *check-month.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-moon-phase.ps1*
|
Script: *check-moon-phase.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -76,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-network.ps1*
|
Script: *check-network.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the network details of the local computer and prints it.
|
This PowerShell script queries the network details of the local computer and prints it.
|
||||||
|
|
||||||
@ -56,12 +56,13 @@ Script Content
|
|||||||
|
|
||||||
" "
|
" "
|
||||||
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
||||||
& "$PSScriptRoot/check-ping.ps1"
|
& "$PSScriptRoot/ping-remote-hosts.ps1"
|
||||||
& "$PSScriptRoot/check-firewall"
|
& "$PSScriptRoot/check-firewall"
|
||||||
& "$PSScriptRoot/check-dns.ps1"
|
& "$PSScriptRoot/check-dns.ps1"
|
||||||
& "$PSScriptRoot/check-vpn.ps1"
|
& "$PSScriptRoot/check-vpn.ps1"
|
||||||
& "$PSScriptRoot/list-public-ip.ps1"
|
& "$PSScriptRoot/list-public-ip.ps1"
|
||||||
|
& "$PSScriptRoot/ping-local-hosts.ps1"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-new-year.ps1*
|
Script: *check-new-year.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the time until New Year and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until New Year and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-noon.ps1*
|
Script: *check-noon.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-noon.ps1
|
check-noon.ps1
|
||||||
|
|
||||||
@ -59,4 +59,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-os.ps1*
|
Script: *check-os.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the operating system status and prints it.
|
This PowerShell script queries the operating system status and prints it.
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ try {
|
|||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Name = $PSVersionTable.OS
|
$Name = $PSVersionTable.OS
|
||||||
if ([System.Environment]::Is64BitOperatingSystem) { $Arch = "64-bit" } else { $Arch = "32-bit" }
|
if ([System.Environment]::Is64BitOperatingSystem) { $Arch = "64-bit" } else { $Arch = "32-bit" }
|
||||||
Write-Host "✅ $Name $Arch"
|
Write-Host "✅ $Name (Linux $Arch)"
|
||||||
} else {
|
} else {
|
||||||
$OS = Get-WmiObject -class Win32_OperatingSystem
|
$OS = Get-WmiObject -class Win32_OperatingSystem
|
||||||
$Name = $OS.Caption -Replace "Microsoft Windows","Windows"
|
$Name = $OS.Caption -Replace "Microsoft Windows","Windows"
|
||||||
@ -73,4 +73,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-outlook.ps1*
|
Script: *check-outlook.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
||||||
|
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-password.ps1*
|
Script: *check-password.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
||||||
|
|
||||||
@ -94,4 +94,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-pending-reboot.ps1*
|
Script: *check-pending-reboot.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-pending-reboot.ps1
|
check-pending-reboot.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script queries pending operating system reboots and prints it.
|
This PowerShell script queries pending operating system reboots and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
./check-pending-reboot.ps1
|
./check-pending-reboot.ps1
|
||||||
✅ No pending reboot
|
✅ No pending system reboot
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -83,7 +83,7 @@ try {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($Reason -eq "") {
|
if ($Reason -eq "") {
|
||||||
Write-Host "✅ No pending reboot"
|
Write-Host "✅ No pending system reboot"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -92,4 +92,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -90,4 +90,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1 as of 12/16/2023 10:12:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-power.ps1*
|
Script: *check-power.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the power status and prints it.
|
This PowerShell script queries the power status and prints it.
|
||||||
|
|
||||||
@ -58,9 +58,9 @@ try {
|
|||||||
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||||
$reply = "✅ AC powered"
|
$reply = "✅ AC powered"
|
||||||
} elseif ($percent -ge 95) {
|
} elseif ($percent -ge 95) {
|
||||||
$reply = "✅ Battery $percent% fully charged"
|
$reply = "✅ Battery fully charged ($percent%)"
|
||||||
} else {
|
} else {
|
||||||
$reply = "✅ Battery charging... ($percent%)"
|
$reply = "✅ Battery charging ($percent%)"
|
||||||
}
|
}
|
||||||
} else { # must be offline
|
} else { # must be offline
|
||||||
if (($remaining -eq 0) -and ($percent -ge 60)) {
|
if (($remaining -eq 0) -and ($percent -ge 60)) {
|
||||||
@ -92,4 +92,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,34 +1,19 @@
|
|||||||
*check-powershell.ps1*
|
Script: *check-powershell.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
|
check-powershell.ps1
|
||||||
|
|
||||||
This PowerShell script queries the PowerShell status and prints it.
|
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-powershell.ps1 [<CommonParameters>]
|
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
```
|
```
|
||||||
|
|
||||||
Example
|
|
||||||
-------
|
|
||||||
```powershell
|
|
||||||
PS> ./check-powershell.ps1
|
|
||||||
✅ PowerShell 5.1.19041.2673 Desktop edition (10 modules, 1458 cmdlets, 172 aliases)
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
Notes
|
|
||||||
-----
|
|
||||||
Author: Markus Fleschutz | License: CC0
|
|
||||||
|
|
||||||
Related Links
|
|
||||||
-------------
|
|
||||||
https://github.com/fleschutz/PowerShell
|
|
||||||
|
|
||||||
Script Content
|
Script Content
|
||||||
--------------
|
--------------
|
||||||
```powershell
|
```powershell
|
||||||
@ -39,23 +24,33 @@ Script Content
|
|||||||
This PowerShell script queries the PowerShell status and prints it.
|
This PowerShell script queries the PowerShell status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-powershell.ps1
|
PS> ./check-powershell.ps1
|
||||||
✅ PowerShell 5.1.19041.2673 Desktop edition (10 modules, 1458 cmdlets, 172 aliases)
|
✅ PowerShell 5.1.19041.2673 Desktop edition (1 profile, 10 modules, 1458 cmdlets, 172 aliases)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
function GetNumberOfProfiles {
|
||||||
|
[int]$count = 0
|
||||||
|
if (Test-Path $PROFILE.AllUsersAllHosts) { $count++ }
|
||||||
|
if (Test-Path $PROFILE.AllUsersCurrentHost) { $count++ }
|
||||||
|
if (Test-Path $PROFILE.CurrentUserAllHosts) { $count++ }
|
||||||
|
if (Test-Path $PROFILE.CurrentUserCurrentHost) { $count++ }
|
||||||
|
return $count
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$version = $PSVersionTable.PSVersion
|
$version = $PSVersionTable.PSVersion
|
||||||
$edition = $PSVersionTable.PSEdition
|
$edition = $PSVersionTable.PSEdition
|
||||||
|
$numProfiles = GetNumberOfProfiles
|
||||||
$numModules = (Get-Module).Count
|
$numModules = (Get-Module).Count
|
||||||
$numAliases = (Get-Alias).Count
|
$numAliases = (Get-Alias).Count
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
"✅ PowerShell $version $edition edition ($numModules modules, $numAliases aliases)"
|
"✅ PowerShell $version $edition edition ($numProfiles profile, $numModules modules, $numAliases aliases)"
|
||||||
} else {
|
} else {
|
||||||
$numCmdlets = (Get-Command -Command-Type cmdlet).Count
|
$numCmdlets = (Get-Command -Command-Type cmdlet).Count
|
||||||
"✅ PowerShell $version $edition edition ($numModules modules, $numCmdlets cmdlets, $numAliases aliases)"
|
"✅ PowerShell $version $edition edition ($numProfiles profile, $numModules modules, $numCmdlets cmdlets, $numAliases aliases)"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -64,4 +59,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-ps1-file.ps1*
|
Script: *check-ps1-file.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the given PowerShell script file(s) for validity.
|
This PowerShell script checks the given PowerShell script file(s) for validity.
|
||||||
|
|
||||||
@ -76,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-ram.ps1*
|
Script: *check-ram.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-ram.ps1
|
check-ram.ps1
|
||||||
|
|
||||||
@ -98,4 +98,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-repo.ps1*
|
Script: *check-repo.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script verifies the integrity of a local Git repository.
|
This PowerShell script verifies the integrity of a local Git repository.
|
||||||
|
|
||||||
@ -128,4 +128,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
85
docs/check-repos.md
Normal file
85
docs/check-repos.md
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
Script: *check-repos.ps1*
|
||||||
|
========================
|
||||||
|
|
||||||
|
This PowerShell script checks all Git repositories in a folder.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
|
-parentDir <String>
|
||||||
|
Specifies the path to the parent folder
|
||||||
|
|
||||||
|
Required? false
|
||||||
|
Position? 1
|
||||||
|
Default value "$PWD"
|
||||||
|
Accept pipeline input? false
|
||||||
|
Accept wildcard characters? false
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-repos.ps1 C:\MyRepos
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Checks Git repositories
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script checks all Git repositories in a folder.
|
||||||
|
.PARAMETER parentDir
|
||||||
|
Specifies the path to the parent folder
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./check-repos.ps1 C:\MyRepos
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
param([string]$parentDir = "$PWD")
|
||||||
|
|
||||||
|
try {
|
||||||
|
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
|
|
||||||
|
$parentDirName = (Get-Item "$parentDir").Name
|
||||||
|
"⏳ Step 1 - Checking parent folder 📂$parentDirName..."
|
||||||
|
if (-not(Test-Path "$parentDir" -pathType container)) { throw "Can't access folder: $parentDir" }
|
||||||
|
$folders = (Get-ChildItem "$parentDir" -attributes Directory)
|
||||||
|
$numFolders = $folders.Count
|
||||||
|
"Found $numFolders subfolders."
|
||||||
|
|
||||||
|
[int]$Step = 1
|
||||||
|
foreach ($folder in $folders) {
|
||||||
|
& "$PSScriptRoot/check-repo.ps1" "$folder"
|
||||||
|
$Step++
|
||||||
|
}
|
||||||
|
|
||||||
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
|
"✔️ Checked $numFolders Git repos at 📂$parentDirName in $elapsed sec"
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 01/25/2024 13:58:36)*
|
@ -1,5 +1,5 @@
|
|||||||
*check-santa.ps1*
|
Script: *check-santa.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -56,4 +56,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 01/25/2024 13:58:36)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-smart-devices.ps1*
|
Script: *check-smart-devices.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-smart-devices.ps1
|
check-smart-devices.ps1
|
||||||
|
|
||||||
@ -48,11 +48,11 @@ function Bytes2String { param([int64]$Bytes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "⏳ (1/3) Searching for smartmontools..."
|
Write-Progress "(1/3) Searching for smartmontools..."
|
||||||
$Result = (smartctl --version)
|
$Result = (smartctl --version)
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" }
|
if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" }
|
||||||
|
|
||||||
Write-Progress "⏳ (2/3) Scanning S.M.A.R.T devices..."
|
Write-Progress "(2/3) Scanning S.M.A.R.T devices..."
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Devices = $(sudo smartctl --scan-open)
|
$Devices = $(sudo smartctl --scan-open)
|
||||||
} else {
|
} else {
|
||||||
@ -60,7 +60,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach($Device in $Devices) {
|
foreach($Device in $Devices) {
|
||||||
Write-Progress "⏳ (3/3) Querying S.M.A.R.T devices..."
|
Write-Progress "(3/3) Querying S.M.A.R.T devices..."
|
||||||
$Array = $Device.split(" ")
|
$Array = $Device.split(" ")
|
||||||
$Device = $Array[0]
|
$Device = $Array[0]
|
||||||
if ("$Device" -eq "#") {
|
if ("$Device" -eq "#") {
|
||||||
@ -95,4 +95,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-software.ps1*
|
Script: *check-software.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the software status of the local computer and prints it.
|
This PowerShell script queries the software status of the local computer and prints it.
|
||||||
|
|
||||||
@ -69,4 +69,4 @@ Script Content
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-subnet-mask.ps1*
|
Script: *check-subnet-mask.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the given subnet mask for validity.
|
This PowerShell script checks the given subnet mask for validity.
|
||||||
|
|
||||||
@ -84,4 +84,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-swap-space.ps1*
|
Script: *check-swap-space.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the current status of the swap space and prints it.
|
This PowerShell script queries the current status of the swap space and prints it.
|
||||||
|
|
||||||
@ -92,8 +92,8 @@ try {
|
|||||||
Write-Output "⚠️ Swap space of $(MB2String $Total) is full"
|
Write-Output "⚠️ Swap space of $(MB2String $Total) is full"
|
||||||
} elseif ($Free -lt $minLevel) {
|
} elseif ($Free -lt $minLevel) {
|
||||||
Write-Output "⚠️ Swap space of $(MB2String $Total) is nearly full, only $(MB2String $Free) free"
|
Write-Output "⚠️ Swap space of $(MB2String $Total) is nearly full, only $(MB2String $Free) free"
|
||||||
} elseif ($Used -eq 0) {
|
} elseif ($Used -lt 5) {
|
||||||
Write-Output "✅ Swap space of $(MB2String $Total) reserved"
|
Write-Output "✅ Swap space unused, $(MB2String $Free) free"
|
||||||
} else {
|
} else {
|
||||||
[int]$Percent = ($Used * 100) / $Total
|
[int]$Percent = ($Used * 100) / $Total
|
||||||
Write-Output "✅ Swap space uses $Percent%, $(MB2String $Free) free of $(MB2String $Total)"
|
Write-Output "✅ Swap space uses $Percent%, $(MB2String $Free) free of $(MB2String $Total)"
|
||||||
@ -105,4 +105,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-symlinks.ps1*
|
Script: *check-symlinks.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks every symbolic link in a folder (including subfolders).
|
This PowerShell script checks every symbolic link in a folder (including subfolders).
|
||||||
It returns the number of broken symlinks as exit value.
|
It returns the number of broken symlinks as exit value.
|
||||||
@ -100,4 +100,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-time-zone.ps1*
|
Script: *check-time-zone.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the time zone and prints it.
|
This PowerShell script queries the time zone and prints it.
|
||||||
|
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-uptime.ps1*
|
Script: *check-uptime.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
check-uptime.ps1
|
check-uptime.ps1
|
||||||
|
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-vpn.ps1*
|
Script: *check-vpn.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script queries the status of the VPN connection(s) and prints it.
|
This PowerShell script queries the status of the VPN connection(s) and prints it.
|
||||||
|
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-weather.ps1*
|
Script: *check-weather.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script checks the current weather report.
|
This PowerShell script checks the current weather report.
|
||||||
|
|
||||||
@ -81,4 +81,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
*check-week.ps1*
|
Script: *check-week.ps1*
|
||||||
================
|
========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current week number by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current week number by text-to-speech (TTS).
|
||||||
|
|
||||||
@ -54,4 +54,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 10/19/2023 08:11:36)*
|
*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 01/25/2024 13:58:37)*
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user