mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 06:30:04 +02:00
Compare commits
289 Commits
Author | SHA1 | Date | |
---|---|---|---|
439fbf5bfa | |||
c24030c909 | |||
99def28e8d | |||
5d4df61edc | |||
5a6fb1d698 | |||
5aa9ba219a | |||
00d11f8866 | |||
c77f271268 | |||
a2681adbf9 | |||
6136ae80f2 | |||
1f51d6ab66 | |||
60cc93dbbd | |||
b7e107ecd6 | |||
76a95bb8ae | |||
bc9a0ab7c0 | |||
deca430aae | |||
f1584f83f3 | |||
79e6e6150f | |||
12a7eedd86 | |||
88f6dbb91d | |||
39bd55443f | |||
35d32e29e1 | |||
036c9a39da | |||
568707d547 | |||
8258e56563 | |||
79376a98ff | |||
571c3b7e49 | |||
30440a72c2 | |||
d6593816c3 | |||
b2c6f7ea22 | |||
6a413827df | |||
230fe23421 | |||
d6071ca2b0 | |||
3721feeaa9 | |||
411756abc6 | |||
b360ab234b | |||
6cd2ea934d | |||
fa466955a4 | |||
443a4b78e7 | |||
fc23927446 | |||
d4c5c03433 | |||
af3c58a541 | |||
85e5dfe8f1 | |||
77081de9db | |||
c3ad18eba7 | |||
725bdcb680 | |||
b845d6459b | |||
5731ff7a5f | |||
af92a2972d | |||
3b3f8db539 | |||
54974f6660 | |||
29bd848405 | |||
b98b638ff1 | |||
adfc40c2cf | |||
9a9d83dfc8 | |||
60c1004a40 | |||
3d64a05c57 | |||
49b70b104d | |||
902f19c64a | |||
f74ab0c771 | |||
a2014996f6 | |||
82a6ca53f4 | |||
bbd9fd4e99 | |||
e192f34821 | |||
11bfd0b886 | |||
fa37a97c92 | |||
598adae9cb | |||
18a6d1fcf5 | |||
75672674a9 | |||
90ed5031d7 | |||
b612c905e2 | |||
4be557732e | |||
b2b539e471 | |||
57b87c4b48 | |||
6ddf3d846c | |||
6cfc31ffd4 | |||
abc5a11989 | |||
ea6ca76eda | |||
05fdf8b99c | |||
ef346ea8bc | |||
a19489235a | |||
c80d48b7d7 | |||
b0caa06e29 | |||
b72f6e6a6e | |||
3ef424ad70 | |||
c9867174cd | |||
5f573540a5 | |||
cb9df2ccf2 | |||
e2eed4e802 | |||
5ca003c8e3 | |||
360947b911 | |||
233864eef0 | |||
81a8082017 | |||
69b8b3ee4e | |||
e08a839e11 | |||
59eb6e5c7b | |||
0878ab8141 | |||
f14995fa28 | |||
4928897fd2 | |||
5bee8b4c11 | |||
098e1e8b57 | |||
d9f5847aed | |||
6132292e2a | |||
2b4fb24678 | |||
245f6330f9 | |||
00d0fb333e | |||
3dba184d19 | |||
04406716db | |||
9ae69818cf | |||
900809ed2d | |||
68093db677 | |||
46c80fcd36 | |||
dddfe0eb80 | |||
c8f6edfe04 | |||
fc8919c7b0 | |||
746825f40f | |||
29bd5ed5c9 | |||
3189a749de | |||
6e05236a99 | |||
aed2b7d940 | |||
c5b5cb1c6e | |||
4de7ec9831 | |||
85b5d2b84f | |||
8e9b84491e | |||
38f047e111 | |||
6c2002649f | |||
34de8863f4 | |||
2df84055fc | |||
4b4ef9c1c4 | |||
a79bb3d0eb | |||
c5b68daf0e | |||
11df9ebbc3 | |||
84d421b0bd | |||
19164caf2b | |||
a3d209e55c | |||
7ee714e3a9 | |||
885abeb385 | |||
513c60d5f9 | |||
a316ad6e27 | |||
1fd0b93746 | |||
714f53a90a | |||
adc7c4b240 | |||
c1104a14af | |||
95e3305c9d | |||
6625d4a909 | |||
9bdbd172f0 | |||
0c34da568f | |||
badf775807 | |||
80a756cf3e | |||
a88ee6031a | |||
edd15f6ebe | |||
680f99568d | |||
adf316dac3 | |||
1bfee19061 | |||
267a4e566c | |||
70e14b26b2 | |||
a9b0fd120d | |||
0537d616ee | |||
c9961fe97d | |||
a573ee7878 | |||
5d11391dc7 | |||
c2ece8db12 | |||
8b5cbd074f | |||
5381e88ced | |||
1e6d5ac3a5 | |||
306cd65327 | |||
67636a8024 | |||
4cc43302c2 | |||
a11c9953b9 | |||
5a5cf939bb | |||
a962e1b8ad | |||
b94c006e94 | |||
ffe8bcc3d7 | |||
0ae669da26 | |||
f89271ce4b | |||
e993d937d6 | |||
7d36c0fb74 | |||
0fe35dcd45 | |||
8ebbc74496 | |||
0bcb9cadf6 | |||
2a886f87d5 | |||
d753e11173 | |||
0c6881f2dc | |||
15f69e32aa | |||
188653a71d | |||
1498b30abf | |||
3a5f2371e3 | |||
97cd42cb86 | |||
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 |
233
README.md
233
README.md
@ -1,44 +1,44 @@
|
||||
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.**
|
||||
**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder.**
|
||||
|
||||
**[Download](https://github.com/fleschutz/PowerShell/releases) | [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
|
||||
-----------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
|
||||
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more...](docs/list-voices.md) |
|
||||
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more...](docs/play-beep-sound.md) |
|
||||
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more...](docs/play-files.md) |
|
||||
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more...](docs/play-happy-birthday.md) |
|
||||
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more...](docs/play-imperial-march.md) |
|
||||
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more...](docs/play-jingle-bells.md) |
|
||||
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more...](docs/play-mission-impossible.md)|
|
||||
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given 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-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more...](docs/play-super-mario.md) |
|
||||
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more...](docs/play-tetris-melody.md) |
|
||||
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more...](docs/speak-checklist.md) |
|
||||
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | 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-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more...](docs/speak-epub.md) |
|
||||
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more...](docs/speak-file.md) |
|
||||
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more...](docs/speak-french.md) |
|
||||
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more...](docs/speak-german.md) |
|
||||
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more...](docs/speak-italian.md) |
|
||||
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more...](docs/speak-spanish.md) |
|
||||
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more...](docs/speak-test.md) |
|
||||
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more...](docs/speak-text.md) |
|
||||
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more...](docs/tell-joke.md) |
|
||||
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more...](docs/tell-quote.md) |
|
||||
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more...](docs/turn-volume-down.md) |
|
||||
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio volume fully up. [Read more...](docs/turn-volume-fully-up.md) |
|
||||
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more...](docs/turn-volume-off-audio.md) |
|
||||
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more...](docs/turn-volume-on.md) |
|
||||
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more...](docs/turn-volume-up.md) |
|
||||
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) |
|
||||
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more »](docs/play-beep-sound.md) |
|
||||
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more »](docs/play-files.md) |
|
||||
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more »](docs/play-happy-birthday.md) |
|
||||
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more »](docs/play-imperial-march.md) |
|
||||
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more »](docs/play-jingle-bells.md) |
|
||||
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more »](docs/play-mission-impossible.md)|
|
||||
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [Read more »](docs/play-m3u.md) |
|
||||
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [Read more »](docs/play-mp3.md) |
|
||||
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more »](docs/play-super-mario.md) |
|
||||
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more »](docs/play-tetris-melody.md) |
|
||||
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more »](docs/speak-checklist.md) |
|
||||
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [Read more »](docs/speak-countdown.md) |
|
||||
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more »](docs/speak-english.md) |
|
||||
| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more »](docs/speak-epub.md) |
|
||||
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more »](docs/speak-file.md) |
|
||||
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more »](docs/speak-french.md) |
|
||||
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more »](docs/speak-german.md) |
|
||||
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more »](docs/speak-italian.md) |
|
||||
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more »](docs/speak-spanish.md) |
|
||||
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more »](docs/speak-test.md) |
|
||||
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more »](docs/speak-text.md) |
|
||||
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more »](docs/tell-joke.md) |
|
||||
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more »](docs/tell-quote.md) |
|
||||
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more »](docs/turn-volume-down.md) |
|
||||
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [Read more »](docs/turn-volume-fully-up.md) |
|
||||
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more »](docs/turn-volume-off-audio.md) |
|
||||
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more »](docs/turn-volume-on.md) |
|
||||
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more »](docs/turn-volume-up.md) |
|
||||
|
||||
|
||||
⚙️ Scripts to Manage Computers
|
||||
@ -46,49 +46,49 @@ Mega Collection of PowerShell Scripts
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more...](docs/add-firewall-rules.md) |
|
||||
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more...](docs/check-cpu.md) |
|
||||
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more...](docs/check-dns.md) |
|
||||
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more...](docs/check-drive-space.md) |
|
||||
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more...](docs/check-file-system.md)|
|
||||
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more...](docs/check-health.md) |
|
||||
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more...](docs/check-ping.md) |
|
||||
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more...](docs/check-swap-space.md) |
|
||||
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more...](docs/check-windows-system-files.md) |
|
||||
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more...](docs/enable-crash-dumps.md) |
|
||||
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more...](docs/hibernate.md) |
|
||||
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more...](docs/install-github-cli.md) |
|
||||
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
||||
| [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-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more...](docs/install-ssh-client.md) |
|
||||
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more...](docs/install-ssh-server.md) |
|
||||
| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [Read more...](docs/install-signal-cli.md)|
|
||||
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more...](docs/install-updates.md) |
|
||||
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more...](docs/install-wsl.md)|
|
||||
| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more...](docs/list-installed-apps.md) |
|
||||
| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more...](docs/list-cli-tools.md) |
|
||||
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more...](docs/list-dns-servers.md) |
|
||||
| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more...](docs/list-drives.md) |
|
||||
| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more...](docs/list-network-shares.md) |
|
||||
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more...](docs/list-installed-software.md) |
|
||||
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more...](docs/list-printers.md) |
|
||||
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more...](docs/list-print-jobs.md) |
|
||||
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more...](docs/list-processes.md) |
|
||||
| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more...](docs/list-services.md) |
|
||||
| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more...](docs/list-system-info.md) |
|
||||
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more...](docs/list-tasks.md) |
|
||||
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more...](docs/list-timezone.md) |
|
||||
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more...](docs/list-timezones.md) |
|
||||
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more...](docs/list-user-groups.md) |
|
||||
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more...](docs/poweroff.md) |
|
||||
| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more...](docs/query-smart-data.md) |
|
||||
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more...](docs/reboot.md) |
|
||||
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more...](docs/remove-print-jobs.md) |
|
||||
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more...](docs/restart-network-adapters.md)|
|
||||
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more...](docs/upgrade-ubuntu.md) |
|
||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a 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) |
|
||||
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) |
|
||||
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more »](docs/check-cpu.md) |
|
||||
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more »](docs/check-dns.md) |
|
||||
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more »](docs/check-drive-space.md) |
|
||||
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more »](docs/check-file-system.md)|
|
||||
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more »](docs/check-health.md) |
|
||||
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more »](docs/check-ping.md) |
|
||||
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more »](docs/check-swap-space.md) |
|
||||
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more »](docs/check-windows-system-files.md) |
|
||||
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more »](docs/enable-crash-dumps.md) |
|
||||
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more »](docs/hibernate.md) |
|
||||
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more »](docs/install-github-cli.md) |
|
||||
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more »](docs/install-chrome-browser.md) |
|
||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more »](docs/install-firefox.md) |
|
||||
| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more »](docs/install-knot-resolver.md)|
|
||||
| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more »](docs/install-ssh-client.md) |
|
||||
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more »](docs/install-ssh-server.md) |
|
||||
| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [Read more »](docs/install-signal-cli.md)|
|
||||
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more »](docs/install-updates.md) |
|
||||
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more »](docs/install-wsl.md)|
|
||||
| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more »](docs/list-installed-apps.md) |
|
||||
| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more »](docs/list-cli-tools.md) |
|
||||
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more »](docs/list-dns-servers.md) |
|
||||
| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more »](docs/list-drives.md) |
|
||||
| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more »](docs/list-network-shares.md) |
|
||||
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more »](docs/list-installed-software.md) |
|
||||
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more »](docs/list-printers.md) |
|
||||
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more »](docs/list-print-jobs.md) |
|
||||
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more »](docs/list-processes.md) |
|
||||
| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more »](docs/list-services.md) |
|
||||
| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more »](docs/list-system-info.md) |
|
||||
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more »](docs/list-tasks.md) |
|
||||
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more »](docs/list-timezone.md) |
|
||||
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more »](docs/list-timezones.md) |
|
||||
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more »](docs/list-user-groups.md) |
|
||||
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more »](docs/poweroff.md) |
|
||||
| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more »](docs/query-smart-data.md) |
|
||||
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more »](docs/reboot.md) |
|
||||
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more »](docs/remove-print-jobs.md) |
|
||||
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more »](docs/restart-network-adapters.md)|
|
||||
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more »](docs/upgrade-ubuntu.md) |
|
||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a remote computer using Wake-on-LAN. [Read more »](docs/wakeup.md) |
|
||||
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) |
|
||||
|
||||
|
||||
💻 Scripts for the Desktop
|
||||
@ -158,7 +158,7 @@ Mega Collection of PowerShell Scripts
|
||||
| [open-windows-terminal.ps1](scripts/open-windows-terminal.ps1)| Launches Windows Terminal. [Read more...](docs/open-windows-terminal.md) |
|
||||
| [open-wikipedia-website.ps1](scripts/open-wikipedia-website.ps1)| Opens Wikipedia's website. [Read more...](docs/open-wikipedia-website.md) |
|
||||
| [open-youtube-website.ps1](scripts/open-youtube-website.ps1)| Opens YouTube's website. [Read more...](docs/open-youtube-website.md) |
|
||||
| [remind-me.ps1](scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](docs/remind-me.md) |
|
||||
| [remind-me.ps1](scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](docs/remind-me.md)|
|
||||
| [save-screenshot.ps1](scripts/save-screenshot.ps1) | Saves a single screenshot. [Read more...](docs/save-screenshot.md) |
|
||||
| [set-wallpaper.ps1](scripts/set-wallpaper.ps1) | Sets the given image as wallpaper. [Read more...](docs/set-wallpaper.md) |
|
||||
|
||||
@ -177,7 +177,8 @@ Mega Collection of PowerShell Scripts
|
||||
| [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) |
|
||||
| [cd-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
||||
| [cd-recycle-bin.ps1](scripts/cd-recycle-bin.ps1) | Set the working directory to the user's recycle bin folder. [Read more...](docs/cd-recycle-bin.md) |
|
||||
| [cd-repos.ps1](scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](docs/cd-repos.md) |
|
||||
| [cd-repos.ps1](scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](docs/cd-repos.md)|
|
||||
| [cd-repo.ps1](scripts/cd-repo.ps1) | Change the working directory to the given Git repository folder. [Read more...](docs/cd-repo.md) |
|
||||
| [cd-root.ps1](scripts/cd-root.ps1) | Set the working directory to the root directory. [Read more...](docs/cd-root.md) |
|
||||
| [cd-scripts.ps1](scripts/cd-scripts.ps1) | Set the working directory to the PowerShell Scripts folder. [Read more...](docs/cd-scripts.md) |
|
||||
| [cd-ssh.ps1](scripts/cd-ssh.ps1) | Set the working directory to the user's SSH folder. [Read more...](docs/cd-ssh.md) |
|
||||
@ -188,7 +189,7 @@ Mega Collection of PowerShell Scripts
|
||||
| [cd-videos.ps1](scripts/cd-videos.ps1) | Set the working directory to the user's videos folder. [Read more...](docs/cd-videos.md) |
|
||||
| [check-symlinks.ps1](scripts/check-symlinks.ps1) | Checks every symlink in a directory tree. [Read more...](docs/check-symlinks.md) |
|
||||
| [check-xml-file.ps1](scripts/check-xml-file.ps1) | Checks the given XML file for validity. [Read more...](docs/check-xml-file.md) |
|
||||
| [clear-recycle-bin.ps1](scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](docs/clear-recycle-bin.md) |
|
||||
| [clear-recycle-bin.ps1](scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](docs/clear-recycle-bin.md)|
|
||||
| [copy-photos-sorted.ps1](scripts/copy-photos-sorted.ps1) | Copy image files sorted by year and month. [Read more...](docs/copy-photos-sorted.md) |
|
||||
| [decrypt-file.ps1](scripts/decrypt-file.ps1) | Decrypts the given file. [Read more...](docs/decrypt-file.md) |
|
||||
| [download-dir.ps1](scripts/download-dir.ps1) | Downloads a directory tree from the given URL. [Read more...](docs/download-dir.md) |
|
||||
@ -208,13 +209,13 @@ Mega Collection of PowerShell Scripts
|
||||
| [list-recycle-bin.ps1](scripts/list-recycle-bin.ps1) | Lists the content of the recycle bin folder. [Read more...](docs/list-recycle-bin.md) |
|
||||
| [list-unused-files.ps1](scripts/list-unused-files.ps1) | Lists unused files in a directory tree. [Read more...](docs/list-unused-files.md) |
|
||||
| [list-workdir.ps1](scripts/list-workdir.ps1) | Lists the current working directory. [Read more...](docs/list-workdir.md) |
|
||||
| [make-install.ps1](scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](docs/make-install.md) |
|
||||
| [make-install.ps1](scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](docs/make-install.md)|
|
||||
| [new-shortcut.ps1](scripts/new-shortcut.ps1) | Creates a new shortcut file. [Read more...](docs/new-shortcut.md) |
|
||||
| [new-symlink.ps1](scripts/new-symlink.ps1) | Creates a new symbolic link file. [Read more...](docs/new-symlink.md) |
|
||||
| [new-zipfile.ps1](scripts/new-zipfile.ps1) | Creates a new .zip file from a directory. [Read more...](docs/new-zipfile.md) |
|
||||
| [publish-to-ipfs.ps1](scripts/publish-to-ipfs.ps1) | Publishes the given files or directory to IPFS. [Read more...](docs/publish-to-ipfs.md) |
|
||||
| [remove-empty-dirs.ps1](scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](docs/remove-empty-dirs.md) |
|
||||
| [replace-in-files.ps1](scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](docs/replace-in-files.md) |
|
||||
| [remove-empty-dirs.ps1](scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](docs/remove-empty-dirs.md)|
|
||||
| [replace-in-files.ps1](scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](docs/replace-in-files.md)|
|
||||
| [search-filename.ps1](scripts/search-filename.ps1) | Searches the directory tree for filenames by given pattern. [Read more...](docs/search-filename.md) |
|
||||
| [search-files.ps1](scripts/search-files.ps1) | Searches the given pattern in the given files. [Read more...](docs/search-files.md) |
|
||||
| [upload-file.ps1](scripts/upload-file.ps1) | Uploads the local file to the given FTP server. [Read more...](docs/upload-file.md) |
|
||||
@ -223,47 +224,47 @@ Mega Collection of PowerShell Scripts
|
||||
---------------------------
|
||||
|
||||
| Script | Description |
|
||||
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
|
||||
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more...](docs/convert-csv2txt.md) |
|
||||
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more...](docs/convert-mysql2csv.md) |
|
||||
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more...](docs/convert-ps2bat.md) |
|
||||
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more...](docs/convert-ps2md.md) |
|
||||
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more...](docs/convert-sql2csv.md) |
|
||||
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more...](docs/convert-txt2wav.md) |
|
||||
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more...](docs/export-to-manuals.md) |
|
||||
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
||||
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) |
|
||||
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more »](docs/convert-mysql2csv.md) |
|
||||
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more »](docs/convert-ps2bat.md) |
|
||||
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more »](docs/convert-ps2md.md) |
|
||||
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more »](docs/convert-sql2csv.md) |
|
||||
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more »](docs/convert-txt2wav.md) |
|
||||
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more »](docs/export-to-manuals.md) |
|
||||
|
||||
|
||||
📝 Scripts for Git
|
||||
-------------------
|
||||
|
||||
| Script | Description |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
||||
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more...](docs/build-repo.md) |
|
||||
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more...](docs/build-repos.md) |
|
||||
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more...](docs/check-repo.md) |
|
||||
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more...](docs/clean-repo.md) |
|
||||
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more...](docs/clean-repos.md) |
|
||||
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more...](docs/clone-repos.md) |
|
||||
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more...](docs/configure-git.md) |
|
||||
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more...](docs/fetch-repo.md) |
|
||||
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more...](docs/fetch-repos.md) |
|
||||
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more...](docs/list-branches.md) |
|
||||
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more...](docs/list-commit-stats.md) |
|
||||
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more...](docs/list-commits.md) |
|
||||
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more...](docs/list-latest-tag.md) |
|
||||
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more...](docs/list-latest-tags.md) |
|
||||
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more...](docs/list-repos.md) |
|
||||
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more...](docs/list-submodules.md) |
|
||||
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more...](docs/list-tags.md) |
|
||||
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more...](docs/new-branch.md) |
|
||||
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more...](docs/new-tag.md) |
|
||||
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more...](docs/pick-commit.md) |
|
||||
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more...](docs/pull-repo.md) |
|
||||
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more...](docs/pull-repos.md) |
|
||||
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more...](docs/remove-tag.md) |
|
||||
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more...](docs/switch-branch.md) |
|
||||
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more...](docs/sync-repo.md) |
|
||||
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more...](docs/write-changelog.md) |
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
||||
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more »](docs/build-repo.md) |
|
||||
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more »](docs/build-repos.md) |
|
||||
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more »](docs/check-repo.md) |
|
||||
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more »](docs/clean-repo.md) |
|
||||
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more »](docs/clean-repos.md) |
|
||||
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more »](docs/clone-repos.md) |
|
||||
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more »](docs/configure-git.md) |
|
||||
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more »](docs/fetch-repo.md) |
|
||||
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more »](docs/fetch-repos.md) |
|
||||
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more »](docs/list-branches.md) |
|
||||
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more »](docs/list-commit-stats.md) |
|
||||
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more »](docs/list-commits.md) |
|
||||
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more »](docs/list-latest-tag.md) |
|
||||
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more »](docs/list-latest-tags.md) |
|
||||
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more »](docs/list-repos.md) |
|
||||
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more »](docs/list-submodules.md) |
|
||||
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more »](docs/list-tags.md) |
|
||||
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more »](docs/new-branch.md) |
|
||||
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more »](docs/new-tag.md) |
|
||||
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more »](docs/pick-commit.md) |
|
||||
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more »](docs/pull-repo.md) |
|
||||
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more »](docs/pull-repos.md) |
|
||||
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more »](docs/remove-tag.md) |
|
||||
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more »](docs/switch-branch.md) |
|
||||
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more »](docs/sync-repo.md) |
|
||||
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more »](docs/write-changelog.md) |
|
||||
|
||||
🔎 Scripts for PowerShell
|
||||
------------------------
|
||||
|
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
APPLICATION, CATEGORY, APPID,
|
||||
"7-Zip for Windows", "file utility", "XPDNKVCX4QD2DC",
|
||||
"7-Zip", "file utility", "7zip.7zip",
|
||||
"Aquile Reader", "ebook reader", "9P08T4JLTQNK",
|
||||
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM",
|
||||
"CMake", "build utility", "Kitware.CMake",
|
||||
"Dopamine", "audio player", "Digimezzo.Dopamine.2",
|
||||
"Dropbox", "file sync", "Dropbox.Dropbox",
|
||||
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions",
|
||||
@ -25,6 +26,7 @@ APPLICATION, CATEGORY, APPID,
|
||||
"OBS Studio", "video recorder", "XPFFH613W8V6LV",
|
||||
"One Calendar", "desktop calendar", "9WZDNCRDR0SF",
|
||||
"Pandoc", "document converter", "JohnMacFarlane.Pandoc",
|
||||
"PrusaSlicer", "3D object slicer", "Prusa3D.PrusaSlicer",
|
||||
"Rufus", "ISO image writer", "9PC3H3V7Q9CH",
|
||||
"Signal", "messenger", "OpenWhisperSystems.Signal",
|
||||
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
00A,Total Rf Heliport (USA)
|
||||
00AA,Aero B Ranch Airport (USA)
|
||||
00AK,Lowell Field (USA)
|
||||
@ -38261,7 +38261,7 @@ KRMG,Richard B Russell Airport (USA)
|
||||
KRMN,Stafford Regional Airport (USA)
|
||||
KRMY,Brooks Field (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)
|
||||
KRNM,Ramona Airport (USA)
|
||||
KRNO,Reno Tahoe International Airport (USA)
|
Can't render this file because it is too large.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
A000,"Cholera due to Vibrio cholerae 01, biovar cholerae"
|
||||
A001,"Cholera due to Vibrio cholerae 01, biovar eltor"
|
||||
A009,"Cholera, unspecified"
|
Can't render this file because it is too large.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AF,Afghanistan
|
||||
AX,Åland Islands
|
||||
AL,Albania
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AED,United Arab Emirates dirham
|
||||
AFN,Afghan afghani
|
||||
ALL,Albanian lek
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
aa,Afar
|
||||
ab,Abkhazian
|
||||
ae,Avestan
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
quetta,"10^30"
|
||||
Q,"10^30"
|
||||
ronna,"10^27"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
21CSLC,21st Century Space Launch Complex
|
||||
4LGSF,Four-Laser Guide Star Facility
|
||||
4MOST,4-metre Multi-Object Spectroscopic Telescope (Proposed new spectroscopic instrument for VISTA)
|
||||
@ -281,7 +281,6 @@ NACO,NAOS-CONICA (VLT)
|
||||
NAOJ,National Astronomical Observatory of Japan
|
||||
NAOMI,Adaptive optics system for the ATs (VLTI)
|
||||
NAOS,Nasmyth Adaptive Optics System (VLT)
|
||||
NASA,National Aeronautics and Space Administration
|
||||
NAV,Navision
|
||||
NDF,Non-Deliverable Forward Agreement
|
||||
NEAR,New Earths in the Alpha Cen Region experiment
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
3P,"Perceive, Process, Perform"
|
||||
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
||||
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
||||
@ -11,6 +11,7 @@ A/F,Autofeather
|
||||
A/FD,Airport/Facility Directory
|
||||
A/P,Autopilot
|
||||
A/R,Altitude Rate
|
||||
A-VDGS,Advanced Visual Docking Guidance System
|
||||
A300,Airbus A300 twinjet
|
||||
A310,Airbus A310 twinjet
|
||||
A320,Airbus A320 family of twinjets
|
||||
@ -55,8 +56,7 @@ ADL,Aeronautical Data Link
|
||||
ADLY,Arrival Delay
|
||||
ADP,Aerodrome dé Paris (Charles de Gaulle)
|
||||
ADP,Automated Data Processing
|
||||
ADS,Automated Distribution System
|
||||
ADS,Automatic Dependent Surveillance
|
||||
ADS,"Automated Distribution System, Automatic Dependent Surveillance, Aircraft Docking System"
|
||||
ADS-B,Automatic Dependent Surveillance-Broadcast
|
||||
AENA,Aeropuertos Españoles y Navegación Aérea
|
||||
AEO,All Engines Operative
|
||||
@ -70,6 +70,7 @@ AFTN,Aeronautical Fixed Telecommunication Network
|
||||
AFM,Aircraft Flight Manual
|
||||
AGAS,Action Group for ATM Safety (EUROCONTROL)
|
||||
AGL,Above Ground Level
|
||||
AGNIS,"Azimuth Guidance for Nose-In Stand (docking system)"
|
||||
AH,Acceleration Height
|
||||
ahdg,alter heading
|
||||
AICS,Aircraft Inventory and Charter System
|
||||
@ -124,6 +125,7 @@ AOPA,Aircraft Owners and Pilots Association
|
||||
AOR,Area of Responsibility
|
||||
AP,Acquisition Plan
|
||||
APB,Acquisition Program Baselines
|
||||
APIS,Aircraft Parking and Information System
|
||||
APM,Approach Path Monitor
|
||||
APP,Approach
|
||||
APS,Airport Planning Standard
|
||||
@ -138,6 +140,7 @@ ARINC,Aeronautical Radio, Inc. (USA)
|
||||
ARLNO,Airline Office
|
||||
ARP,Airport Reference Point
|
||||
ARTCC,Air Route Traffic Control Centre
|
||||
ASACS,Air Surveillance and Control System
|
||||
ASB,Airspace Block
|
||||
ASDA,Accelerate Stop Distance Available
|
||||
ASDE,Airport Surface Detection Equipment
|
||||
@ -261,7 +264,7 @@ ETOPS,Extended-range Twin-engine Operational Performance Standards
|
||||
ETVS,Electronic Terminal Voice Switch
|
||||
eVTOL,Electric Vertical Take-off and Landing
|
||||
FAA,U.S. Federal Aviation Administration
|
||||
FAR,Fuel Air Ratio
|
||||
FAR,"Fuel Air Ratio, Federal Aviation Regulations"
|
||||
FAS,Final Approach Segment
|
||||
FAS,Final Approach Speed
|
||||
FAST,Future Aviation Safety Team
|
||||
@ -286,6 +289,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)
|
||||
FIA,Flight Information Area
|
||||
FIR,Flight Information Region
|
||||
FIS,Federal Inspection Services
|
||||
FL,Flight Level
|
||||
FLIP,Flight Information Publication
|
||||
FMG,Flughafen München GmbH
|
||||
@ -316,11 +320,13 @@ IGLR,Integrated Ground Lighting and Radar
|
||||
ILS,Instrument Landing System
|
||||
ISA,International Standard Atmosphere
|
||||
IMC,Instrument Meteorological Conditions
|
||||
JTAC,Joint Terminal Attack Control
|
||||
KAT,Kaufbeuren ATM Training (DFS subcompany)
|
||||
KCAS,Calibrated AirSpeed in Knots
|
||||
KIAS,Indicated Airspeed in Knots
|
||||
KTAS,True AirSpeed in Knots
|
||||
LAA,Lappland Aviation Academy
|
||||
LAHSO,Land and Hold Short Operations
|
||||
LDA,Landing Distance Available
|
||||
LDAH,Landing Distance Available for Helicopter
|
||||
LH,Lufthansa
|
||||
@ -364,7 +370,10 @@ OGE,Out of Ground Effect
|
||||
OFZ,Obstacle Free Zone
|
||||
OJT,On the Job Training
|
||||
OODA,"Observation, Orientation, Decision, and Action"
|
||||
OSC,On Scene Commander
|
||||
PA,Pressure Altitude
|
||||
PADS,Parallax Aircraft Docking System
|
||||
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
||||
PAPI,Precision Approach Path Indicator
|
||||
PAR,Precision Approach Radar
|
||||
PCAS,Primary Crash Alarm System
|
||||
@ -384,14 +393,14 @@ RADNET,Radar Network
|
||||
RAIM,Receiver Autonomous Integrity Monitoring (GPS)
|
||||
RAPCON,Radar Approach Control
|
||||
RAT,Reliability Acceptance Test (see also FAT and SAT)
|
||||
RAM,Radar Absorbent Material
|
||||
RAM,Royal Air Maroc
|
||||
RAP,Recognised Air Picture
|
||||
RASP,Recognised Air and Surveillance Picture
|
||||
RB,Relative Bearing
|
||||
RBI,Relative Bearing Indicator
|
||||
RBAF,Royal Belgium Armed Forces
|
||||
RCAF,Royal Canadian Air Force
|
||||
RCC,Rescue Co-ordination Centre
|
||||
RCC,Rescue Coordination Center
|
||||
RCL,Runway Centre Line Lighting
|
||||
RCR,Runway Condition Reading
|
||||
RCS,Radar Cross Section
|
||||
@ -404,20 +413,19 @@ RIMCAS,Runway Incursion Monitoring and Conflict Alert System
|
||||
RJAF,Royal Jordanian Air Force
|
||||
RJC,Reject
|
||||
RPI,Runway Point of Intercept
|
||||
RPM,Rotations per Minute
|
||||
ROFZ,Runway Obstacle Free Zone
|
||||
RMI,Radio Magnetic Indicator
|
||||
RNAV,Area Navigation
|
||||
RNP,Required Navigation Performance
|
||||
ROC,Rate Of Climb
|
||||
ROC,Required Obstacle Clearance
|
||||
RPM,Revolutions Per Minute
|
||||
RPS,Radar Position Symbol
|
||||
RRPM,Rotor Rotations per Minute
|
||||
RSA,Runway Safety Area
|
||||
RSAF,Republic of Singapore Air Force
|
||||
RSC,Runway Surface Condition
|
||||
RSI,Remote Status Indicato
|
||||
RSI,Remote Status Indicator
|
||||
RSO,Range Safety Officer
|
||||
RSRS,Reduced Same Runway Separation
|
||||
RTCA,Radio Technical Commission for Aeronautics
|
||||
RVR,Runway Visual Range
|
||||
@ -458,6 +466,7 @@ SM,Statute Mile
|
||||
SMR,Surface Movement Radar
|
||||
SOF,Supervisor of Flying
|
||||
SOW,Statement of Work
|
||||
SRA,Surveillance Radar Approach
|
||||
SRC,Safety Regulation Commission (EUROCONTROL)
|
||||
SRU,Safety Regulation Unit (EUROCONTROL)
|
||||
SSR,Secondary Surveillance Radar
|
||||
@ -555,7 +564,7 @@ VCS,Voice Communication System
|
||||
VCCS,Voice Communication Control System
|
||||
VCOA,Visual Climb Over Airport
|
||||
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)
|
||||
VDU,Visual Display Unit
|
||||
VFS,Vertical Flight Society
|
Can't render this file because it has a wrong number of fields in line 139.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
GPT,"glutamate pyruvate transaminase, or Goniopora toxin"
|
||||
Leo,an American Quarter Horse
|
||||
Leo,"Leonberger, a breed of dog"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
A,Atom
|
||||
a,atto prefix (10-18)
|
||||
AA,Acetic Acid
|
||||
@ -425,7 +425,6 @@ HOAc,Acetic Acid
|
||||
HOMO,Highest Occupied Molecular Orbital
|
||||
HOQS,Highest Occupied Quantum State
|
||||
HP,High Pressure
|
||||
hp,horsepower
|
||||
HPHT,High Pressure/High Temperature
|
||||
HPLC,High Pressure Liquid Chromatography
|
||||
HPPT,High Pressure Phase Transformation
|
||||
@ -926,7 +925,6 @@ RO,Reverse Osmosis
|
||||
ROHS,Restriction Of Hazardous Substances
|
||||
ROS,Reactive Oxygen Species
|
||||
ROWPU,Reverse Osmosis Water Purification Unit
|
||||
RPM,Revolutions Per Minute
|
||||
RPT,Repeat
|
||||
RSC,Royal Society of Chemistry
|
||||
RT,Energy (Rydberg Constant x Temperature)
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
Air Force Blue (RAF),RGB #5d8aa8
|
||||
Air Force Blue (USAF),RGB #00308f
|
||||
Air Superiority Blue,RGB #72a0c1
|
|
@ -1,3 +1,3 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
GPT,"GEC Plessey Telecommunications (a defunct British telecommunications manufacturer) or GPT Group (an Australian property investment company)"
|
||||
IAS,"International Automated Systems (an American company), IAS Limited (an Australian-based gambling company)"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
.7z,Common filename extension for archive files in 7z format
|
||||
.bat,Common filename extension for Batch script files
|
||||
.bz2,Common filename extension for archive files in bzip2 format
|
||||
@ -93,15 +93,13 @@ ABAP,Advanced Business Application Programming
|
||||
ABB,activity-based budgeting
|
||||
ABBH,average bouncing busy hour
|
||||
abC,abcoulomb
|
||||
ABC,activity-based costing
|
||||
ABC,Atanasoff-Berry Computer
|
||||
ABC,"activity-based costing, Atanasoff-Berry Computer"
|
||||
abend,abnormal end
|
||||
abF,abfarad
|
||||
abH,abhenry
|
||||
ABIOS,Advanced BIOS
|
||||
ABM,activity-based management
|
||||
ABP,AdBlock Plus
|
||||
ABP,Microsoft Exchange Address Book Policy
|
||||
ABP,"AdBlock Plus, Microsoft Exchange Address Book Policy"
|
||||
ABR,"AutoBaud Rate or Available Bit Rate"
|
||||
abS,absiemens
|
||||
abV,abvolt
|
||||
@ -115,15 +113,13 @@ ACE,Access Control Entry
|
||||
ACeS,Asia Cellular Satellite System
|
||||
ACF2,Access Control Facility
|
||||
ACH,Automated Clearing House
|
||||
ACH,fraud Automated Clearing House fraud
|
||||
ACID,"Atomicity, Consistency, Isolation, Durability"
|
||||
Ack,Acknowledgement
|
||||
ACL,Access Control List
|
||||
ACM,Association for Computing Machinery
|
||||
ACO,accountable care organization
|
||||
ACPI,Advanced Configuration and Power Interface
|
||||
ACR,Absolute Cell Reference
|
||||
ACR,attenuation-to-crosstalk ratio
|
||||
ACR,"Absolute Cell Reference, attenuation-to-crosstalk ratio"
|
||||
ACT,Application Compatibility Toolkit
|
||||
ACTA,America's Carriers Telecommunications Association
|
||||
ACTS,Automatic Coin Telephone System
|
||||
@ -131,8 +127,7 @@ ACV,all commodity volume
|
||||
AD,Active Directory
|
||||
ADAT,Alesis Digital Audio Tape
|
||||
ADatP,Automated Data Processing
|
||||
ADC,Analog-to-Digital Converter
|
||||
ADC,automated data collection
|
||||
ADC,"Analog-to-Digital Converter, automated data collection"
|
||||
ADE,qutomated data entry
|
||||
ADF,Automatic Document Feeder
|
||||
ADO,ActiveX Data Objects
|
||||
@ -148,12 +143,13 @@ AF,audio frequency
|
||||
AFC,antiferromagnetically-coupled
|
||||
AFIS,Automated Fingerprint Identification System
|
||||
AFM,atomic force microscopy
|
||||
AFP,Advanced Function Printing
|
||||
AFP,Apple Filing Protocol
|
||||
AFP,"Advanced Function Printing, Apple Filing Protocol"
|
||||
AFS,Andrew file system
|
||||
aglet,agile applet
|
||||
AGP,Accelerated Graphics Port
|
||||
AGI,Artificial General Intelligence
|
||||
AHA,Accelerated Hub Architecture
|
||||
AHCI,Advanced Host Controller Interface
|
||||
AHIMA,American Health Information Management Association
|
||||
AHRQ,Agency for Healthcare Research and Quality
|
||||
AHT,average handle time
|
||||
@ -178,14 +174,11 @@ alt.,alternate newsgroup
|
||||
ALU,Arithmetic Logic Unit
|
||||
AMD,Advanced Micro Devices
|
||||
AMD-V,AMD virtualization
|
||||
AMI,advanced metering infrastructure
|
||||
AMI,Amazon Machine Image
|
||||
AMI,"advanced metering infrastructure, Amazon Machine Image"
|
||||
AMIA,American Medical Informatics Association
|
||||
AML,anti-money laundering software
|
||||
AMPS,Advanced Mobile Phone Service
|
||||
AMR,ambulatory medical record
|
||||
AMR,Audio/Modem Riser or AMR slot
|
||||
AMR,automated meter reading
|
||||
AMR,"ambulatory medical record, Audio/Modem Riser, AMR slot, automated meter reading"
|
||||
AMT,advanced manufacturing technology
|
||||
AMTOR,amateur teleprinting over radio
|
||||
ANI,Automatic Number Identification
|
||||
@ -195,15 +188,14 @@ AoE,ATA over Ethernet
|
||||
AOI,automated optical inspection
|
||||
AOP,aspect-oriented programming
|
||||
AOSP,Android Open Source Project
|
||||
AP,accounts payable
|
||||
AP,Adaptive Planning
|
||||
AP,"accounts payable,Adaptive Planning"
|
||||
Apache Hadoop YARN,Yet Another Resource Negotiator
|
||||
APAR,authorized program analysis report
|
||||
API,Application Programming Interface
|
||||
APICS,American Production and Inventory Control Society
|
||||
APIPA,Automatic Private IP Addressing
|
||||
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"
|
||||
AppBlast,Project AppBlast
|
||||
APPC,Advanced Program-to-Program Communication or LU 6.2
|
||||
@ -281,10 +273,6 @@ AWS,Amazon Web Services
|
||||
AWT,Abstract Window Toolkit
|
||||
AXI,automated X-ray inspection
|
||||
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"
|
||||
BA,business agility
|
||||
BA,business analytics
|
||||
@ -862,6 +850,7 @@ DRP,Distribution Requirements Planning
|
||||
DRS,Storage Distributed Resource Scheduler
|
||||
DSB,Dispute Settlement Body
|
||||
DSC,Digital Still Camera
|
||||
DSL,Domain-Specific Language
|
||||
DSLAM,Digital Subscriber Line Access Multiplexer
|
||||
DSLR,camera digital single lense reflux
|
||||
DSML,Directory Services Markup Language
|
||||
@ -1355,7 +1344,6 @@ HMIPv6,Hierarchical Mobile IPv6
|
||||
HMM,Hidden Markov Model
|
||||
HOLAP,hybrid online analytical processing
|
||||
HomeRF,home radio frequency
|
||||
HP,Hewlett-Packard
|
||||
HP,High Performance
|
||||
HP-GL,Hewlett-Packard Graphics Language
|
||||
HPC,High-Performance Computing
|
||||
@ -1613,7 +1601,7 @@ LIDB,line information database
|
||||
LILO,LInux LOader
|
||||
LINQ,Language Integrated Query
|
||||
LISP,list processing
|
||||
LLM,large language model
|
||||
LLM,Large Language Model
|
||||
LLVM,Compiler Infrastructure (Low Level Virtual Machine)
|
||||
LMDS,Local Multi-Point Distribution System
|
||||
LMGTFY,Let Me Google That For You
|
||||
@ -1801,6 +1789,7 @@ NCA,native cloud application
|
||||
NCFA,National Call Fee Access
|
||||
NCM,network configuration management
|
||||
NCMS,National Center for Manufacturing Sciences
|
||||
NCQ,Native Command Queuing
|
||||
NCSC,National Computer Security Center
|
||||
NCVHS,National Committee on Vital and Health Statistics
|
||||
NDA,non-disclosure agreement
|
||||
@ -1911,7 +1900,6 @@ OID,object ID
|
||||
OLA,operational level agreement
|
||||
OLAP,online analytical processing
|
||||
OLE,Object Linking and Embedding
|
||||
OLED,light-emitting diode
|
||||
OLPC,One Laptop Per Child
|
||||
OLT,optical line terminal
|
||||
OLTP,On Line Transaction Processing
|
||||
@ -2134,33 +2122,32 @@ RA,registration authority
|
||||
RAC,Real Application Cluster
|
||||
RACE,Rapid Access Computing Environment
|
||||
RACF,Resource Access Control Facility
|
||||
RAD,rapid application development
|
||||
RAD,Rapid Application Development
|
||||
RADIUS,Remote Authentication Dial-In User Service
|
||||
RAF,risk assessment framework
|
||||
RAID,redundant array of independent disks
|
||||
RAF,Risk Assessment Framework
|
||||
RAG,Retrieval Augmented Generation
|
||||
RAID,Redundant Array of Independent Disks
|
||||
RAIN,redundant/reliable array of inexpensive/independent nodes
|
||||
RAM,Random Access Memory
|
||||
RAMAC,random access method of accounting and control
|
||||
RAMDAC,random access memory digital-to-analog converter
|
||||
RAMAC,Random Access Method of Accounting and Control
|
||||
RAMDAC,Random Access Memory dDgital-to-analog Converter
|
||||
RAND,reasonable and nondiscriminatory
|
||||
RAP,Revenue Acquisition Process
|
||||
RARP,Reverse Address Resolution Protocol
|
||||
RAS,"registration, admission, and status"
|
||||
RAS,"Reliability, Availability and Serviceability"
|
||||
RAS,"Remote Access Server, row address strobe"
|
||||
RAT,remote access Trojan
|
||||
RBA,risk-based authentication
|
||||
RBAC,role-based access control
|
||||
RBOC,regional Bell operating company
|
||||
RCE,remote code execution
|
||||
RAS,"Registration,Admission and Status, or Reliability,Availability and Serviceability, or Remote Access Server, row address strobe"
|
||||
RAT,Remote Access Trojan
|
||||
RBA,Risk-Based Authentication
|
||||
RBAC,Role-Based Access Control
|
||||
RBOC,Regional Bell Operating Company
|
||||
RCE,Remote Code Execution
|
||||
RCP,Rich Client Platform
|
||||
RD,running disparity
|
||||
RDBMS,relational database management system
|
||||
RDC,remote deposit capture
|
||||
RD,Running Disparity
|
||||
RDBMS,Relational DataBase Management System
|
||||
RDC,Remote Deposit Capture
|
||||
RDF,Resource Description Framework
|
||||
RDM,raw device mapping
|
||||
RDM,Raw Device Mapping
|
||||
RDMA,Remote Direct Memory Access
|
||||
rDNS,reverse DNS
|
||||
rDNS,Reverse DNS
|
||||
RDO,Remote Data Objects
|
||||
RDP,Remote Desktop Protocol
|
||||
RDRAM,Rambus Dynamic Random Access Memory
|
||||
@ -2171,39 +2158,35 @@ RDT&E,"Research, Development, Testing & Evaluation"
|
||||
REC,Regional Extension Center
|
||||
ReFS,Resilient File System
|
||||
regex,regular expression
|
||||
REST,representational state transfer
|
||||
RF,radio frequency
|
||||
REST,REpresentational State Transfer
|
||||
RF,Radio Frequency
|
||||
RFC,Remote Function Call
|
||||
RFC,Request for Comments
|
||||
RFI,request for information
|
||||
RFID,radio frequency identification
|
||||
RFID,Radio Frequency IDentification
|
||||
RFO,Request for Offer
|
||||
RFP,request for proposal
|
||||
RFQ,request for quotation
|
||||
RFP,Request for Proposal
|
||||
RFQ,Request for Quotation
|
||||
RFR,Red Flags Rule
|
||||
RGB,"red, green, and blue"
|
||||
RHCVA,Red Hat Certified Virtualization Administrator
|
||||
RHEL,Red Hat Enterprise Linux
|
||||
RHEV,Red Hat Enterprise Virtualization
|
||||
RHIA,registered health information administrator
|
||||
RHIA,Registered Health Information Administrator
|
||||
RHIO,Regional Health Information Organization
|
||||
RHIT,registered health information technician
|
||||
RHIT,Registered Health Information Technician
|
||||
RHS,Red Hat Storage
|
||||
RIA,Rich Internet Application
|
||||
RIAA,Recording Industry Association of America
|
||||
RIBLOE,Remote Insight Board -- Lights Out Edition
|
||||
RID,relative identifier
|
||||
RIM,records information management
|
||||
RIM,Reference Information Model
|
||||
RIP,Raster Image Processor
|
||||
RIP,Routing Information Protocol
|
||||
RID,Relative IDentifier
|
||||
RIM,"Records Information Management, or: Reference Information Model"
|
||||
RIP,"Raster Image Processor, or: Routing Information Protocol"
|
||||
RIR,Regional Internet Registry
|
||||
RIS,Radiology Information System
|
||||
RIS,Remote Installation Service
|
||||
RIS,"Radiology Information System, or: Remote Installation Service"
|
||||
RISC,Reduced Instruction Set Computer
|
||||
RJE,Remote Job Entry
|
||||
RMA,Return Material (or Merchandise) Authorization
|
||||
RMA,return merchandise authorization
|
||||
RMI,Remote Method Invocation
|
||||
RMM,Remote Monitoring & Management
|
||||
RMON,Remote Network Monitoring
|
||||
@ -2229,15 +2212,12 @@ RoT,Roots of Trust
|
||||
ROU,Record Of Understanding
|
||||
ROWE,Results-Only Work Environment
|
||||
RPC,Remote Procedure Call
|
||||
RPG,Report Program Generator
|
||||
RPG,Role-Playing Game
|
||||
RPM,Rapid Response Manufacturing
|
||||
RPM,remote patient monitoring
|
||||
RPO,recovery point objective
|
||||
RPO,recruitment process outsourcing
|
||||
RPG,"Report Program Generator, Role-Playing Game"
|
||||
RPM,"Rapid Response Manufacturing, Remote Patient Monitoring, Red Hat Package Manager"
|
||||
RPO,"Recovery Point Objective, Recruitment Process Outsourcing"
|
||||
RPR,Resilient Packet Ring
|
||||
RPT,rich presence technology
|
||||
RQ,risk intelligence
|
||||
RPT,Rich Presence Technology
|
||||
RQ,Risk Intelligence
|
||||
RRAM,resistive RAM
|
||||
RSAT,Microsoft Remote Server Administration Tools
|
||||
RSC,Retail Service Center
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
btl,Bottle
|
||||
c,Cup
|
||||
C,Cups
|
|
54556
data/dicts/english_dictionary.csv
Normal file
54556
data/dicts/english_dictionary.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
A-CVA,Advanced Credit Valuation Adjustment
|
||||
ABoR,Administrative Board of Review
|
||||
ABS,Asset-Backed Security
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
e.g.,"'exempli gratia' in Latin, meaning: 'for example'"
|
||||
0D,obvious deed
|
||||
1AM,Air Mechanic 1st Class
|
||||
@ -93,6 +93,7 @@ aC,Attocoulomb
|
||||
AC1,Aircraftman 1st Class
|
||||
AC2,Aircraftman 2nd Class
|
||||
ACA,"Affordable Care Act,shorthand for the Patient Protection and Affordable Care Act,commonly called 'Obamacare',Airspace Control Authority,Airspace Co-ordination Area,A Current Affair"
|
||||
ACAB,All cops are bastards
|
||||
ACARS,Aircraft Communications Addressing and Reporting System
|
||||
ACAS,Aboriginal Children's Advancement Society,Advisory,Conciliation and Arbitration Service
|
||||
ACB,"Asociación de Clubes de Baloncesto (Spanish for 'Association of Basketball Clubs')"
|
||||
@ -159,7 +160,7 @@ ADM,"Administrative,,Admiral,and the U.S. Public Health Service Commissioned Cor
|
||||
ADOA,Air Defence Operations Area
|
||||
ADP,"Adenosine DiPhosphate,Army Doctrine Publication (UK,Canada,Australia),Automatic/Automated Data Processing"
|
||||
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)"
|
||||
ADT,Atlantic Daylight Time (UTC−3 hours)
|
||||
ADTB,Army Doctrine and Training Bulletin
|
||||
@ -500,6 +501,10 @@ AYU,As Yet Unknown
|
||||
AZ,"Arizona (postal symbol),Azerbaijan (ISO 3166 digram),Alkmaar Zaanstreek (Dutch football club)"
|
||||
AZE,Azerbaijan (ISO 3166 trigram)
|
||||
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]"
|
||||
BB,"Barbados (ISO 3166 digram),Boys' Brigade (Christian youth organization),Brigitte Bardot (actress),Bumblebee"
|
||||
BBB,"Better Business Bureau,Blood-brain barrier"
|
||||
@ -785,7 +790,7 @@ CHRS,Canadian Heart Rhythm Society
|
||||
CHT,Certified Hand Therapist
|
||||
CI,"Côte d'Ivoire (ISO 3166 digram),Counter-Intelligence,101 (in Roman numerals)"
|
||||
Ci,Curie
|
||||
CIA,"U.S. Central Intelligence Agency, Cairo International Airport, Culinary Institute of America"
|
||||
CIA,"Cairo International Airport, Culinary Institute of America"
|
||||
CIAO,"Critical Infrastructure Assurance Office,Component-Integrated ACE ORB"
|
||||
CIB,Complete In Box (Internet auction/trading listings)
|
||||
CIBC,Canadian Imperial Bank of Commerce
|
||||
@ -1282,7 +1287,7 @@ ECCM,Electronic Counter-Counter-Measures
|
||||
ECFS,Electronic Case Filing System
|
||||
ECG,Electrocardiogram
|
||||
ECHO,Each Community Helps Others (EPA programme),Educational Concerns for Hunger Organization,European Commission Host Organization,European Commission Humanitarian aid Office,Exchange Clearing House,Expanded Characteristic Option,Explanatory Coherence by Harmony Optimization
|
||||
ECHR,European Convention on Human Rights
|
||||
ECHR,European Court on Human Rights
|
||||
ECJ,European Court of Justice
|
||||
ECL,Emitter Coupled Logic (electronics)
|
||||
ECM,Electronic Counter-Measures,Enterprise Content Management
|
||||
@ -1783,7 +1788,7 @@ GFE,Girlfriend experience (used in escort services),Good Faith Estimate,Governme
|
||||
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)
|
||||
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
|
||||
GGP,General Game Playing,General Growth Properties (U.S. shopping center owner),GH[edit]
|
||||
GH,Ghana (ISO 3166 digram),Gigahenry
|
||||
@ -2695,6 +2700,7 @@ LOA,Limit Of Advance
|
||||
LOC,"Level of Operational Capability, Limited Operational Capability"
|
||||
LOD,"Limit of Detection,see Detection limit"
|
||||
LoD,Lines of Development (UK)
|
||||
LOE,Level of Effort
|
||||
LOFAR,Low Frequency Analysis and Recording
|
||||
LOGPAC,Logistics Package
|
||||
LOL,Laughing Out Loud (Internet shorthand)
|
||||
@ -3408,7 +3414,7 @@ NRU,Nauru (ISO 3166 trigram)
|
||||
ns,Nanosecond
|
||||
nS,Nanosiemens
|
||||
NS,"Norfolk Southern Railway (AAR reporting mark),Nova Scotia (postal symbol),Suriname (FIPS 10-4 country code)"
|
||||
NSA,"U.S. National Security Agency,Naval Support Activity,No Strings Attached"
|
||||
NSA,"Naval Support Activity,No Strings Attached"
|
||||
NSABB,National Science Advisory Board for Biosecurity
|
||||
NSAID,Non-Steroidal Anti-Inflammatory Drug
|
||||
NSB,Norges Statsbaner (Norwegian State Railways)
|
||||
@ -4041,8 +4047,6 @@ RAE,UK Royal Aircraft Establishment (-1991)
|
||||
RAF,Red Army Faction,Royal Air Force
|
||||
RAG,Raising and Giving,Rocket Antitank Grenade
|
||||
RAGBRAI,Register's Annual Great Bicycle Ride Across Iowa
|
||||
RAM,Rolling Airframe Missile,
|
||||
RAM,Royal Air Maroc
|
||||
Ramark,RAdar MARKer
|
||||
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
|
||||
@ -4176,8 +4180,7 @@ RPD,Recognition-Primed Decision-making
|
||||
RPF,Rwandan Patriotic Front
|
||||
RPG,(US-CA) Regional Planning Group,Report Program Generator,Rocket Projectile Gun,Rocket-Propelled Grenade,Role-Playing Game
|
||||
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
|
||||
RPO,Radiation Protection Officer,Regular Production Option,RPR-FOM,Realtime Platform Reference Federation Object Model ("reaper fomm")
|
||||
rps,revolutions per second
|
||||
@ -4272,6 +4275,7 @@ SH,Saint Helena (ISO 3166 digram),SONATRACH (Algerian petroleum company)
|
||||
SHAC,Stop Huntingdon Animal Cruelty,Student Health Action Coalition,SHAPE — Supreme Headquarters Allied Powers Europe,SHF — Super High Frequency,SHN — Saint Helena (ISO 3166 trigram)
|
||||
SHO,Showtime (see also sho.com)
|
||||
SI,Slovenia (ISO 3166 and FIPS 10-4 country code digram),Socialist International,Sports Illustrated,Système International (French,International System of Units),SIA — Singapore Airlines (ICAO code),SIA — Survivors of Incest Anonymous,SIAM — Society for Industrial and Applied Mathematics,SIC — Standard Industrial Classification,SICS — Swedish Institute of Computer Science,SIDS — Sudden infant death syndrome,SIDU — select,insert,delete,update. See Create,read,update and delete,SIF — Selective Identification Feature,SIFF — Successor IFF
|
||||
sic,sic erat scriptum (Latin for 'thus was it written')
|
||||
SIG,Schweizerische Industrie Gesellschaft (German,"Swiss Industry Company"). See also SIG Sauer,a firearms manufacturer spun off from the aforementioned company in 2000.,.signature (UNIX shell/Internet standard file name), Special Interest Group,SIGCAT — Special Interest Group for CD-ROM Applications and Technology,SIGINT — Signals Intelligence,SIGMET — Significant Meteorological Information
|
||||
SIIT,Saskatchewan Indian Institute of Technologies (Canadian university),Sirindhorn International Institute of Technology (Thai university),Stateless IP/ICMP Translation algorithm,SIMAC — Semantic Interaction with Music Audio Contents,SIMLAS — Soldier Integrated Multipurpose Laser System,SIMM — Single In-line Memory Module,SIMNET — SIMulator NETwork,later SIMulation NETwork,SIMNET-D,SIMNET-Developmental,SIMP — Strongly Interacting Massive Particle
|
||||
SIP,Session Initiation Protocol,State Implementation Plan,System Improvement Program,Systematic Investment Plan,SIPP — Self-Invested Personal Pension
|
||||
@ -4710,9 +4714,7 @@ USGS,United States Geological Survey
|
||||
USIA,United States Information Agency
|
||||
USJFCOM,United States Joint Forces Command
|
||||
USL,"United Soccer League,a third-level U.S. league. Not to be confused with an earlier league of the same name.,United Soccer Leagues,the organization that operates the above league,plus several other lower-level leagues,University of Southwestern Louisiana,a former name for the school now known as the University of Louisiana at Lafayette"
|
||||
USMC,United States Marine Corps
|
||||
USMNT,United States men's national (soccer) team
|
||||
USN,United States Navy
|
||||
USNA,"United States National Arboretum,United States Naval Academy"
|
||||
USNB,United States Naval Base
|
||||
USNG,United States National Grid
|
Can't render this file because it has a wrong number of fields in line 8.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
0DG,Zero Degrees Parallel
|
||||
AAGIS,Ann Arbor Geographic Information System
|
||||
AGS,Applied Geographic Solutions
|
|
@ -1,3 +1,3 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
XX,The Roman numeral for twenty (20)
|
||||
XXX,The Roman numeral for thirty (30)
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AC,"Axiom of Choice, or set of absolutely continuous functions"
|
||||
a.c.,absolutely continuous
|
||||
acrd,inverse chord function
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
CAT,Computer-Assisted (or Axial) Tomography
|
||||
CDC,"(U.S.) Centers for Disease Control and Prevention; previously known as the Communicable Disease Center"
|
||||
CPR,cardiopulmonary resuscitation
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AA,Air-to-Air
|
||||
AA,Anti-Aircraft
|
||||
AAA,Anti-Aircraft Artillery
|
||||
@ -435,6 +435,7 @@ MAAP,Master Air Attack Plan
|
||||
MAC,Military Airlift Command
|
||||
MACH,Measure of Airspeed (Mach 1 = 1,223 kph/760 mph at sea level)
|
||||
MAD,Magnetic Anomaly Detector
|
||||
MADIS,Marine Air Defense Integrated System
|
||||
MAJ,Major
|
||||
MAP,Medical Advisory Panel
|
||||
MAP,Military Assistance Program
|
||||
@ -618,7 +619,7 @@ R&D,Research & Development
|
||||
R&R,Rest and Recuperation
|
||||
RA,Risk Assessment
|
||||
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
|
||||
RATO,Rocket-Assisted Take-Off
|
||||
RC,Reserve Component
|
||||
@ -642,8 +643,6 @@ ROE,Rules of Engagement
|
||||
ROZ,Restricted Operations Zone
|
||||
RP,Rocket Propelled
|
||||
RPG,Rocket Propelled Grenade
|
||||
RPM,Revolutions Per Minute
|
||||
RPM,Rounds Per Minute
|
||||
RPV,Remotely-Piloted Vehicle
|
||||
RR,Reattack Recommendation
|
||||
RRCC,Regional Response Coordination Center
|
Can't render this file because it has a wrong number of fields in line 63.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
8va,Octave up
|
||||
ABBA,"A swedish pop band consisting of Agnetha, Benny, Björn, and Anni-Frid"
|
||||
ACDC,An australian rock band
|
||||
@ -67,7 +67,7 @@ REM,"An Athens, Georgia-based alt-rock group"
|
||||
rit,Ritardando (“slowing down”)
|
||||
Rf,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
|
||||
sf,"Sforzando, Sforzato (“sudden accent”)"
|
||||
sfz,"Sforzando, Sforzato (“sudden accent”)"
|
|
@ -1,10 +1,8 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
3M,The Minnesota Mining and Manufacturing Company
|
||||
A&W,Allen and Wright (founders Roy Allen and Frank Wright)
|
||||
AATF,"American Association of Teachers of French, or: African Agricultural Technology Foundation"
|
||||
ABC,American Broadcasting Corporation
|
||||
ABC,Associated British Corporation
|
||||
ABC,Australian Broadcasting Corporation
|
||||
ABC,"American Broadcasting Corporation, Associated British Corporation, Australian Broadcasting Corporation"
|
||||
ACLU,American Civil Liberties Union
|
||||
ADB,Asian Development Bank
|
||||
AIIB,Asian Infrastructure Investment Bank
|
||||
@ -15,6 +13,8 @@ BMW, Bavarian Motor Works
|
||||
BND,Bundesnachrichtendienst (Germany)
|
||||
BVD, Bradley, Voorhees, and Day
|
||||
CERN,European Organization for Nuclear Research
|
||||
CIA,U.S. Central Intelligence Agency
|
||||
CPUC,California Public Utilities Commission
|
||||
DOC,U.S. Department of Commerce
|
||||
DOD,U.S. Department of Defense
|
||||
DOE,U.S. Department of Energy
|
||||
@ -49,8 +49,11 @@ NBC,National Broadcasting Company
|
||||
NIST,U.S. National Institute of Standards and Technology
|
||||
NIWA,National Institute of Water and Atmospheric Research Limited
|
||||
NHTSA,U.S. National Highway Traffic Safety Administration
|
||||
NSA,U.S. National Security Agency
|
||||
NYPD,New York Police Department
|
||||
OECD,Organization for Economic Cooperation & Development
|
||||
ONCD,Office of the National Cyber Director
|
||||
RSF,Reporters Sans Frontières (French for: Reporters Without Borders)
|
||||
SAARC,South Asian Association for Regional Cooperation
|
||||
TREAS,U.S. Department of the Treasury
|
||||
ULA,United Launch Alliance
|
Can't render this file because it has a wrong number of fields in line 14.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AAAA,Asian Amateur Athletics Association
|
||||
AFC,American Football Conference
|
||||
DNF,Did Not Finish (Race)
|
|
@ -16,6 +16,7 @@ NAME,URL,
|
||||
"YouTube Music Charts","https://charts.youtube.com/",
|
||||
"Webcams","https://www.foto-webcam.eu",
|
||||
"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 Temperatures","https://www.windy.com/-Temperature-temp",
|
||||
|
|
@ -1,5 +1,5 @@
|
||||
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,
|
||||
cmake, "build tool", "https://github.com/Kitware/CMake", 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,
|
||||
ninja, "build tool", "https://github.com/ninja-build/ninja", 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,
|
||||
pwsh, "shell", "https://github.com/PowerShell/PowerShell", master, yes,
|
||||
protobuf, "dev lib", "https://github.com/protocolbuffers/protobuf", main, yes,
|
||||
|
|
BIN
data/sounds/Big Ben.mp3
Normal file
BIN
data/sounds/Big Ben.mp3
Normal file
Binary file not shown.
@ -1,19 +1,17 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
← enter overview of script here
|
||||
← enter a brief description of the script here
|
||||
.DESCRIPTION
|
||||
← enter brief description of script here
|
||||
.INPUTS
|
||||
← enter inputs here (if any, otherwise state None)
|
||||
.OUTPUTS
|
||||
← enter outputs here (if any, otherwise state None)
|
||||
← enter a detailed description of the script here
|
||||
.PARAMETER
|
||||
← enter the description of a parameter here (repeat the .PARAMETER for each parameter)
|
||||
.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
|
||||
Author: ← enter full name here
|
||||
License: ← enter license here
|
||||
.LINK
|
||||
← enter URL here
|
||||
← enter URL to additional information here
|
||||
#>
|
||||
|
||||
#requires -version 4
|
||||
@ -26,8 +24,8 @@ try {
|
||||
# ← enter instructions here
|
||||
|
||||
"✔️ Done."
|
||||
exit 0
|
||||
exit 0 # success
|
||||
} catch {
|
||||
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
|
15
docs/FAQ.md
15
docs/FAQ.md
@ -102,19 +102,20 @@
|
||||
|
||||
<details><summary>How to configure PowerShell as my default shell on Linux?</summary>
|
||||
|
||||
**Make sure PowerShell is installed, then execute: `chsh -s /usr/bin/pwsh USERNAME`. In case you experience an "invalid shell" error, add "/usr/bin/pwsh" to /etc/shells.**
|
||||
1. Make sure PowerShell is installed, then **execute: `chsh -s /usr/bin/pwsh USERNAME`** (replace USERNAME by your user name).
|
||||
2. In case you experience an "invalid shell" error, **add the line "/usr/bin/pwsh" to /etc/shells.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to install a custom PowerShell profile?</summary>
|
||||
<details><summary>How to set a custom PowerShell profile?</summary>
|
||||
|
||||
**Execute: `./set-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking base profile, but can easily be changed to your needs.**
|
||||
**Execute: `./update-powershell-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking basic profile and can easily be adapted to your needs.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to add the scripts to the search path?</summary>
|
||||
|
||||
Want to use the PowerShell scripts everywhere on the command-line? Then you need to add the Scripts/ subfolder to the search path:
|
||||
|
||||
* **On Linux using Bash:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/Scripts"
|
||||
* **On Linux using Bash:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/scripts (replace '/path/to/)."
|
||||
* **On Windows:** open Settings > System > About > Advanced system settings > Environment Variables, edit the user's variable "Path", and add the full path to the Scripts/ directory.
|
||||
</details>
|
||||
|
||||
@ -129,6 +130,12 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
|
||||
* or simply your **favorite text editor** as an alternative.
|
||||
</details>
|
||||
|
||||
<details><summary>How to remove the banner message in PowerShell?</summary>
|
||||
|
||||
* **In general:** start powershell.exe with option '-nologo'.
|
||||
* **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo".
|
||||
</details>
|
||||
|
||||
<details><summary>How to write good PowerShell scripts?</summary>
|
||||
|
||||
**Good PowerShell scripts are both user-friendly and platform-independent. As a starting point I recommend the following:**
|
||||
|
@ -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.
|
||||
|
||||
@ -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 05/19/2024 10:25:16)*
|
||||
|
@ -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.
|
||||
|
||||
@ -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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*alert.ps1*
|
||||
================
|
||||
Script: *alert.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -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.
|
||||
|
||||
@ -9,7 +9,7 @@ Parameters
|
||||
PS> ./build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
||||
|
||||
-path <String>
|
||||
Specifies the path to the Git repository (current working dir by default)
|
||||
Specifies the path to the Git repository (default is current working directory)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
@ -26,9 +26,9 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_My_Build...
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||
...
|
||||
✔️ Built 📂ninja in 47 sec
|
||||
✔️ Built 📂ninja repository in 47 sec.
|
||||
|
||||
```
|
||||
|
||||
@ -49,12 +49,12 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
||||
.PARAMETER path
|
||||
Specifies the path to the Git repository (current working dir by default)
|
||||
Specifies the path to the Git repository (default is current working directory)
|
||||
.EXAMPLE
|
||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_My_Build...
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||
...
|
||||
✔️ Built 📂ninja in 47 sec
|
||||
✔️ Built 📂ninja repository in 47 sec.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -66,27 +66,44 @@ param([string]$path = "$PWD")
|
||||
function BuildInDir([string]$path) {
|
||||
$dirName = (Get-Item "$path").Name
|
||||
if (Test-Path "$path/CMakeLists.txt" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using CMake into 📂$dirName/_My_Build..."
|
||||
if (-not(Test-Path "$path/_My_Build/" -pathType container)) {
|
||||
& mkdir "$path/_My_Build/"
|
||||
"⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_Build_Results..."
|
||||
if (-not(Test-Path "$path/_Build_Results/" -pathType container)) {
|
||||
& mkdir "$path/_Build_Results/"
|
||||
}
|
||||
Set-Location "$path/_My_Build/"
|
||||
Set-Location "$path/_Build_Results/"
|
||||
|
||||
"⏳ (2/4) Executing 'cmake' to generate the Makefile..."
|
||||
& cmake ..
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' exited with error code $lastExitCode" }
|
||||
|
||||
"⏳ (3/4) Executing 'make -j4' to compile and link..."
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" }
|
||||
|
||||
"⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..."
|
||||
& ctest -V
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'ctest -V' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/autogen.sh" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using 'autogen.sh'..."
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./autogen.sh --force
|
||||
if ($lastExitCode -ne "0") { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" }
|
||||
|
||||
& ./configure
|
||||
if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" }
|
||||
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$path/configure" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using 'configure'..."
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./configure
|
||||
#if ($lastExitCode -ne "0") { throw "Script 'configure' exited with error code $lastExitCode" }
|
||||
#if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
@ -94,31 +111,21 @@ function BuildInDir([string]$path) {
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$path/autogen.sh" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using 'autogen.sh'..."
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./autogen.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'autogen.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$path/build.gradle" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using Gradle..."
|
||||
Set-Location "$path"
|
||||
|
||||
& gradle build
|
||||
if ($lastExitCode -ne "0") { throw "'gradle build' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'gradle build' exited with error code $lastExitCode" }
|
||||
|
||||
& gradle test
|
||||
if ($lastExitCode -ne "0") { throw "'gradle test' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'gradle test' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/meson.build" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using Meson..."
|
||||
Set-Location "$path"
|
||||
& meson . build --prefix=/usr/local
|
||||
if ($lastExitCode -ne "0") { throw "'meson . build' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'meson . build' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/Imakefile" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using Imakefile..."
|
||||
@ -149,7 +156,7 @@ function BuildInDir([string]$path) {
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./compile.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'compile.sh' exited with error code $lastExitCode" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing './compile.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
@ -159,7 +166,7 @@ function BuildInDir([string]$path) {
|
||||
Set-Location "$path/attower/src/build/DevBuild/"
|
||||
|
||||
& ./build.bat build-all-release
|
||||
if ($lastExitCode -ne "0") { throw "Script 'build.bat' exited with error code $lastExitCode" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/$dirName" -pathType container) {
|
||||
"⏳ No make rule found, trying subfolder 📂$($dirName)..."
|
||||
@ -181,7 +188,7 @@ try {
|
||||
|
||||
$repoDirName = (Get-Item "$path").Name
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Built 📂$repoDirName in $elapsed sec"
|
||||
"✔️ Built 📂$repoDirName repository in $elapsed sec."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -189,4 +196,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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*build-repos.ps1*
|
||||
================
|
||||
Script: *build-repos.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-autostart.ps1*
|
||||
================
|
||||
Script: *cd-autostart.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -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.
|
||||
|
||||
@ -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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-desktop.ps1*
|
||||
================
|
||||
Script: *cd-desktop.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-docs.ps1*
|
||||
================
|
||||
Script: *cd-docs.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-downloads.ps1*
|
||||
================
|
||||
Script: *cd-downloads.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-dropbox.ps1*
|
||||
================
|
||||
Script: *cd-dropbox.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-etc.ps1*
|
||||
================
|
||||
Script: *cd-etc.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-fonts.ps1*
|
||||
================
|
||||
Script: *cd-fonts.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-home.ps1*
|
||||
================
|
||||
Script: *cd-home.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-logs.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-music.ps1*
|
||||
================
|
||||
Script: *cd-music.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:16)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-onedrive.ps1*
|
||||
================
|
||||
Script: *cd-onedrive.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-pics.ps1*
|
||||
================
|
||||
Script: *cd-pics.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-public.ps1*
|
||||
================
|
||||
Script: *cd-public.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-recycle-bin.ps1*
|
||||
================
|
||||
Script: *cd-recycle-bin.ps1*
|
||||
========================
|
||||
|
||||
cd-recycle-bin.ps1
|
||||
|
||||
@ -19,7 +19,7 @@ Script Content
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to the user's recycle bin folder
|
||||
Sets the working directory to the recycle bin folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's recycle bin folder.
|
||||
.EXAMPLE
|
||||
@ -39,13 +39,13 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Path = "$HOME/.local/share/Trash/"
|
||||
$path = "$HOME/.local/share/Trash/"
|
||||
} else {
|
||||
$Path = "C:\$Recycle.Bin\" + "$(GetCurrentUserSID)"
|
||||
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Recycle bin folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "Recycle bin folder at 📂$path doesn't exist (yet)" }
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
93
docs/cd-repo.md
Normal file
93
docs/cd-repo.md
Normal file
@ -0,0 +1,93 @@
|
||||
Script: *cd-repo.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script changes the working directory to a Git repository.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./cd-repo.ps1 [[-folderName] <String>] [<CommonParameters>]
|
||||
|
||||
-folderName <String>
|
||||
Specifies the folder name
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
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> ./cd-repo.ps1 rust
|
||||
📂C:\Repos\rust • on Git branch: ## main ... origin/main
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to a repository
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to a Git repository.
|
||||
.PARAMETER folderName
|
||||
Specifies the folder name
|
||||
.EXAMPLE
|
||||
PS> ./cd-repo.ps1 rust
|
||||
📂C:\Repos\rust • on Git branch: ## main ... origin/main
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$folderName = "")
|
||||
|
||||
try {
|
||||
if ("$folderName" -eq "") { $folderName = Read-Host "Enter the folder name" }
|
||||
|
||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
||||
$path = "$HOME/Repos/"
|
||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
||||
$path = "$HOME/repos/"
|
||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
||||
$path = "$HOME/Repositories/"
|
||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
||||
$path = "$HOME/source/repos/"
|
||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
||||
$path = "/Repos/"
|
||||
} else {
|
||||
throw "The folder for Git repositories doesn't exist (yet)"
|
||||
}
|
||||
$path += $folderName
|
||||
|
||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
||||
$path = Resolve-Path "$path"
|
||||
Set-Location "$path"
|
||||
Write-Host "📂$path • on Git branch: " -noNewline
|
||||
|
||||
& git status --short --branch --show-stash
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 05/19/2024 10:25:17)*
|
@ -1,21 +1,12 @@
|
||||
*cd-repos.ps1*
|
||||
================
|
||||
Script: *cd-repos.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./cd-repos.ps1 [[-Subpath] <String>] [<CommonParameters>]
|
||||
|
||||
-Subpath <String>
|
||||
Specifies an additional relative subpath (optional)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
PS> ./cd-repos.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
@ -25,8 +16,8 @@ PS> ./cd-repos.ps1 [[-Subpath] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
PS> ./cd-repos.ps1
|
||||
📂C:\Users\Markus\Repos
|
||||
|
||||
```
|
||||
|
||||
@ -46,33 +37,35 @@ Script Content
|
||||
Sets the working directory to the user's repos folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
||||
.PARAMETER Subpath
|
||||
.PARAMETER subpath
|
||||
Specifies an additional relative subpath (optional)
|
||||
.EXAMPLE
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
PS> ./cd-repos.ps1
|
||||
📂C:\Users\Markus\Repos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$Subpath = "")
|
||||
|
||||
try {
|
||||
if (Test-Path "$HOME/Repos" -pathType Container) { # try short name
|
||||
$Path = "$HOME/Repos/$Subpath"
|
||||
} elseif (Test-Path "$HOME/Repositories" -pathType Container) { # try long name
|
||||
$Path = "$HOME/Repositories/$Subpath"
|
||||
} elseif (Test-Path "$HOME/source/repos" -pathType Container) { # try Visual Studio default
|
||||
$Path = "$HOME/source/repos/$Subpath"
|
||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
||||
$path = "$HOME/Repos/"
|
||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
||||
$path = "$HOME/repos/"
|
||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
||||
$path = "$HOME/Repositories/"
|
||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
||||
$path = "$HOME/source/repos/"
|
||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
||||
$path = "/Repos/"
|
||||
} else {
|
||||
throw "The folder for Git repositories in your home directory doesn't exist (yet)."
|
||||
throw "The folder for Git repositories doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType Container)) { throw "The path to 📂$Path doesn't exist (yet)." }
|
||||
$Path = Resolve-Path "$Path"
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
||||
$path = Resolve-Path "$path"
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0])"
|
||||
@ -80,4 +73,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 05/19/2024 10:25:17)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-screenshots.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-scripts.ps1*
|
||||
================
|
||||
Script: *cd-scripts.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
|
||||
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -47,10 +47,10 @@ Script Content
|
||||
#>
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "PowerShell scripts folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
$path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" }
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-ssh.ps1*
|
||||
================
|
||||
Script: *cd-ssh.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-temp.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-templates.ps1*
|
||||
================
|
||||
Script: *cd-templates.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-trash.ps1*
|
||||
================
|
||||
Script: *cd-trash.ps1*
|
||||
========================
|
||||
|
||||
cd-trash.ps1
|
||||
|
||||
@ -19,7 +19,7 @@ Script Content
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to the user's trash folder
|
||||
Sets the working directory to the trash folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's trash folder.
|
||||
.EXAMPLE
|
||||
@ -39,13 +39,13 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Path = "$HOME/.local/share/Trash/"
|
||||
$path = "$HOME/.local/share/Trash/"
|
||||
} else {
|
||||
$Path = "C:\$Recycle.Bin\" + "$(GetCurrentUserSID)"
|
||||
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Trash folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "Trash folder at 📂$path doesn't exist (yet)" }
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-up.ps1*
|
||||
================
|
||||
Script: *cd-up.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-up2.ps1*
|
||||
================
|
||||
Script: *cd-up2.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-up3.ps1*
|
||||
================
|
||||
Script: *cd-up3.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-up4.ps1*
|
||||
================
|
||||
Script: *cd-up4.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-users.ps1*
|
||||
================
|
||||
Script: *cd-users.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-videos.ps1*
|
||||
================
|
||||
Script: *cd-videos.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*cd-windows.ps1*
|
||||
================
|
||||
Script: *cd-windows.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -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.
|
||||
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-admin.ps1*
|
||||
================
|
||||
Script: *check-admin.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,34 +1,19 @@
|
||||
*check-apps.ps1*
|
||||
================
|
||||
Script: *check-apps.ps1*
|
||||
========================
|
||||
|
||||
check-apps.ps1
|
||||
|
||||
This PowerShell script queries the installed applications and prints it.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-apps.ps1 [<CommonParameters>]
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-apps.ps1
|
||||
✅ 119 Windows apps installed, 11 upgrades available
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
@ -46,28 +31,43 @@ Script Content
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function GetCrashDumps {
|
||||
[string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps"
|
||||
$count = 0
|
||||
$files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory)
|
||||
foreach($file in $files) { $count++ }
|
||||
return $count
|
||||
}
|
||||
|
||||
try {
|
||||
$statusIcon = "✅"
|
||||
$statusMsg = ""
|
||||
if ($IsLinux) {
|
||||
Write-Progress "⏳ Querying installed applications..."
|
||||
Write-Progress "Querying installed applications..."
|
||||
$numPkgs = (apt list --installed 2>/dev/null).Count
|
||||
$numSnaps = (snap list).Count - 1
|
||||
Write-Progress -Completed "."
|
||||
Write-Host "✅ $numPkgs Debian packages, $numSnaps snaps installed"
|
||||
Write-Progress -completed "Done."
|
||||
$statusMsg += "$numPkgs Debian packages, $numSnaps snaps installed"
|
||||
} else {
|
||||
Write-Progress "⏳ Querying installed applications..."
|
||||
Write-Progress "Querying installed apps..."
|
||||
$Apps = Get-AppxPackage
|
||||
Write-Progress -Completed "."
|
||||
Write-Host "✅ $($Apps.Count) Windows apps installed, " -noNewline
|
||||
Write-Progress -completed "Done."
|
||||
$statusMsg = "$($Apps.Count) Win apps installed"
|
||||
|
||||
[int]$NumNonOk = 0
|
||||
foreach($App in $Apps) { if ($App.Status -ne "Ok") { $NumNonOk++ } }
|
||||
if ($NumNonOk -gt 0) { $Status += ", $NumNonOk non-ok" }
|
||||
[int]$NumErrors = (Get-AppxLastError)
|
||||
if ($NumErrors -gt 0) { $Status += ", $NumErrors errors" }
|
||||
[int]$numNonOk = 0
|
||||
foreach($App in $Apps) { if ($App.Status -ne "Ok") { $numNonOk++ } }
|
||||
if ($numNonOk -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numNonOk non-ok" }
|
||||
|
||||
$NumUpdates = (winget upgrade --include-unknown).Count - 5
|
||||
Write-Host "$NumUpdates upgrades available"
|
||||
[int]$numErrors = (Get-AppxLastError)
|
||||
if ($numErrors -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numErrors errors" }
|
||||
|
||||
$numUpdates = (winget upgrade --include-unknown).Count - 5
|
||||
$statusMsg += ", $numUpdates upgrades available"
|
||||
|
||||
$crashDumps = GetCrashDumps
|
||||
if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
|
||||
}
|
||||
Write-Host "$statusIcon $statusMsg"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-bios.ps1*
|
||||
================
|
||||
Script: *check-bios.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script queries the BIOS status and prints it.
|
||||
|
||||
@ -48,7 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
Write-Progress "⏳ Querying BIOS details..."
|
||||
Write-Progress "Querying BIOS details..."
|
||||
$model = (sudo dmidecode -s system-product-name)
|
||||
if ("$model" -ne "") {
|
||||
$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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-cpu.ps1*
|
||||
================
|
||||
Script: *check-cpu.ps1*
|
||||
========================
|
||||
|
||||
check-cpu.ps1
|
||||
|
||||
@ -31,7 +31,19 @@ Script Content
|
||||
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
|
||||
if ($IsLinux) {
|
||||
if (Test-Path "/sys/class/thermal/thermal_zone0/temp" -pathType leaf) {
|
||||
@ -48,37 +60,10 @@ function GetProcessorTemperature {
|
||||
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 {
|
||||
Write-Progress "⏳ Querying CPU status... "
|
||||
Write-Progress "Querying CPU status... "
|
||||
$status = "✅"
|
||||
$celsius = GetProcessorTemperature
|
||||
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
|
||||
$arch = GetCPUArchitecture
|
||||
if ($IsLinux) {
|
||||
$cpuName = "$arch CPU"
|
||||
$arch = ""
|
||||
@ -94,7 +79,20 @@ try {
|
||||
$socket = "$($details.SocketDesignation) socket, "
|
||||
}
|
||||
$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)"
|
||||
exit 0 # success
|
||||
} 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 05/19/2024 10:25:17)*
|
||||
|
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 05/19/2024 10:25:17)*
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -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.
|
||||
|
||||
@ -47,8 +47,8 @@ Script Content
|
||||
#>
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ Measuring DNS resolution..."
|
||||
$table = Import-CSV "$PSScriptRoot/../Data/popular-domains.csv"
|
||||
Write-Progress "Measuring DNS resolution..."
|
||||
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
|
||||
$numRows = $table.Length
|
||||
|
||||
$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 05/19/2024 10:25:17)*
|
||||
|
@ -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
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
PS> ./check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<CommonParameters>]
|
||||
|
||||
-Drive <String>
|
||||
Specifies the drive to check
|
||||
-driveName <String>
|
||||
Specifies the drive name to check (e.g. "C")
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
@ -17,12 +17,12 @@ PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonPa
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
-MinLevel <Int32>
|
||||
Specifies the minimum level in Gigabyte
|
||||
-minLevel <Int64>
|
||||
Specifies the minimum level in bytes (10GB by default)
|
||||
|
||||
Required? false
|
||||
Position? 2
|
||||
Default value 20
|
||||
Default value 10000000
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
@ -34,8 +34,8 @@ PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonPa
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drive-space C
|
||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
||||
PS> ./check-drive-space.ps1 C
|
||||
✅ Drive C: has 442GB free (56% of 1TB used)
|
||||
|
||||
```
|
||||
|
||||
@ -52,38 +52,57 @@ Script Content
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks a drive for free space left
|
||||
Checks the drive space
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks a drive for free space left (20 GB by default).
|
||||
.PARAMETER Drive
|
||||
Specifies the drive to check
|
||||
.PARAMETER MinLevel
|
||||
Specifies the minimum level in Gigabyte
|
||||
This PowerShell script checks the given drive for free space left (10 GB by default).
|
||||
.PARAMETER driveName
|
||||
Specifies the drive name to check (e.g. "C")
|
||||
.PARAMETER minLevel
|
||||
Specifies the minimum level in bytes (10GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drive-space C
|
||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
||||
PS> ./check-drive-space.ps1 C
|
||||
✅ Drive C: has 442GB free (56% of 1TB used)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
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 {
|
||||
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)
|
||||
[int]$Free = (($DriveDetails.Free / 1024) / 1024) / 1024
|
||||
[int]$Used = (($DriveDetails.Used / 1024) / 1024) / 1024
|
||||
[int]$Total = ($Used + $Free)
|
||||
$details = (Get-PSDrive $driveName)
|
||||
if (-not $IsLinux) { $driveName = $driveName + ":" }
|
||||
[int64]$free = $details.Free
|
||||
[int64]$used = $details.Used
|
||||
[int64]$total = ($used + $free)
|
||||
|
||||
if ($Free -lt $MinLevel) {
|
||||
write-warning "Drive $Drive has only $Free GB left to use! ($Used of $Total GB used, minimum is $MinLevel GB)"
|
||||
exit 1
|
||||
if ($total -eq 0) {
|
||||
Write-Host "✅ Drive $driveName is empty"
|
||||
} elseif ($free -eq 0) {
|
||||
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is full"
|
||||
} elseif ($free -lt $minLevel) {
|
||||
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
||||
} else {
|
||||
[int64]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $driveName has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
|
||||
}
|
||||
|
||||
& "$PSScriptRoot/speak-english.ps1" "Drive $Drive has $Free GB left ($Total GB total)"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ 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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-drives.ps1*
|
||||
================
|
||||
Script: *check-drives.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script queries the free space of all drives and prints it.
|
||||
|
||||
@ -9,7 +9,7 @@ Parameters
|
||||
PS> ./check-drives.ps1 [[-minLevel] <Int64>] [<CommonParameters>]
|
||||
|
||||
-minLevel <Int64>
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
Specifies the minimum warning level (10GB by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
@ -26,8 +26,8 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: uses 49%, 512GB free of 1TB
|
||||
✅ Drive D: uses 84%, 641GB free of 4TB
|
||||
✅ Drive C: has 512GB free (49% of 1TB used)
|
||||
✅ Drive D: has 641GB free (84% of 4TB used)
|
||||
|
||||
```
|
||||
|
||||
@ -48,11 +48,11 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the free space of all drives and prints it.
|
||||
.PARAMETER minLevel
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
Specifies the minimum warning level (10GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: uses 49%, 512GB free of 1TB
|
||||
✅ Drive D: uses 84%, 641GB free of 4TB
|
||||
✅ Drive C: has 512GB free (49% of 1TB used)
|
||||
✅ Drive D: has 641GB free (84% of 4TB used)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -61,25 +61,20 @@ Script Content
|
||||
|
||||
param([int64]$minLevel = 10) # 10 GB minimum
|
||||
|
||||
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"
|
||||
function Bytes2String { param([int64]$number)
|
||||
if ($number -lt 1KB) { return "$number bytes" }
|
||||
if ($number -lt 1MB) { return '{0:N0}KB' -f ($number / 1KB) }
|
||||
if ($number -lt 1GB) { return '{0:N0}MB' -f ($number / 1MB) }
|
||||
if ($number -lt 1TB) { return '{0:N0}GB' -f ($number / 1GB) }
|
||||
if ($number -lt 1PB) { return '{0:N0}TB' -f ($number / 1TB) }
|
||||
return '{0:N0}GB' -f ($number / 1PB)
|
||||
}
|
||||
|
||||
try {
|
||||
Write-Progress "⏳ Querying drives..."
|
||||
Write-Progress "Querying drives..."
|
||||
$drives = Get-PSDrive -PSProvider FileSystem
|
||||
$minLevel *= 1000 * 1000 * 1000
|
||||
Write-Progress -completed "."
|
||||
$minLevel *= 1GB
|
||||
Write-Progress -completed " "
|
||||
foreach($drive in $drives) {
|
||||
$details = (Get-PSDrive $drive.Name)
|
||||
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
||||
@ -94,8 +89,8 @@ try {
|
||||
} elseif ($free -lt $minLevel) {
|
||||
Write-Host "⚠️ Drive $name with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
||||
} else {
|
||||
[int]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $name uses $percent%, $(Bytes2String $free) free of $(Bytes2String $total)"
|
||||
[int64]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $name has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
@ -105,4 +100,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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-dusk.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:17)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -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.
|
||||
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-file.ps1*
|
||||
================
|
||||
Script: *check-file.ps1*
|
||||
========================
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
*(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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-firewall.ps1*
|
||||
================
|
||||
Script: *check-firewall.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-gpu.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:17)*
|
||||
|
@ -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.
|
||||
|
||||
@ -52,15 +52,15 @@ Script Content
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " H A R D W A R E"
|
||||
Write-Host "`n H A R D W A R E" -foregroundColor green
|
||||
& "$PSScriptRoot/check-cpu.ps1"
|
||||
& "$PSScriptRoot/check-ram.ps1"
|
||||
& "$PSScriptRoot/check-gpu.ps1"
|
||||
& "$PSScriptRoot/check-bios.ps1"
|
||||
& "$PSScriptRoot/check-smart-devices.ps1"
|
||||
& "$PSScriptRoot/check-drives.ps1"
|
||||
& "$PSScriptRoot/check-power.ps1"
|
||||
& "$PSScriptRoot/check-drives.ps1"
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -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.
|
||||
|
||||
@ -58,4 +58,4 @@ Script Content
|
||||
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 05/19/2024 10:25:17)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:17)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-ipv4-address.ps1*
|
||||
================
|
||||
Script: *check-ipv4-address.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:18)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-ipv6-address.ps1*
|
||||
================
|
||||
Script: *check-ipv6-address.ps1*
|
||||
========================
|
||||
|
||||
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 05/19/2024 10:25:18)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:18)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-mac-address.ps1*
|
||||
================
|
||||
Script: *check-mac-address.ps1*
|
||||
========================
|
||||
|
||||
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.
|
||||
@ -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 05/19/2024 10:25:18)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-midnight.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:18)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:18)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 05/19/2024 10:25:18)*
|
||||
|
@ -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.
|
||||
|
||||
@ -54,14 +54,14 @@ Script Content
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
||||
& "$PSScriptRoot/check-ping.ps1"
|
||||
Write-Host "`n N E T W O R K" -foregroundColor green
|
||||
& "$PSScriptRoot/ping-remote-hosts.ps1"
|
||||
& "$PSScriptRoot/check-firewall"
|
||||
& "$PSScriptRoot/check-dns.ps1"
|
||||
& "$PSScriptRoot/check-vpn.ps1"
|
||||
& "$PSScriptRoot/list-public-ip.ps1"
|
||||
& "$PSScriptRoot/ping-local-hosts.ps1"
|
||||
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 05/19/2024 10:25:18)*
|
||||
|
@ -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).
|
||||
|
||||
@ -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 03/27/2024 17:36:24)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-noon.ps1*
|
||||
================
|
||||
Script: *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 05/19/2024 10:25:18)*
|
||||
|
@ -1,5 +1,5 @@
|
||||
*check-os.ps1*
|
||||
================
|
||||
Script: *check-os.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script queries the operating system status and prints it.
|
||||
|
||||
@ -50,7 +50,7 @@ try {
|
||||
if ($IsLinux) {
|
||||
$Name = $PSVersionTable.OS
|
||||
if ([System.Environment]::Is64BitOperatingSystem) { $Arch = "64-bit" } else { $Arch = "32-bit" }
|
||||
Write-Host "✅ $Name $Arch"
|
||||
Write-Host "✅ $Name (Linux $Arch)"
|
||||
} else {
|
||||
$OS = Get-WmiObject -class Win32_OperatingSystem
|
||||
$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 05/19/2024 10:25:18)*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user