mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 14:40:05 +02:00
Compare commits
433 Commits
Author | SHA1 | Date | |
---|---|---|---|
87c5d59442 | |||
da0f05e82d | |||
712dca92db | |||
2c4400f327 | |||
6fda26dc5d | |||
46235b0aa0 | |||
ac144d3f3d | |||
1238ebf8c6 | |||
c023128895 | |||
42fe21f747 | |||
9e1156e90e | |||
32927260bd | |||
a3331f5172 | |||
ba6f1594c8 | |||
33ef92d879 | |||
efe4a2c6b4 | |||
6d9350cb23 | |||
5b23315a12 | |||
af9230f474 | |||
cfb2ea1fa9 | |||
3186552960 | |||
1409e438c6 | |||
58d351c539 | |||
962d7d00b6 | |||
be9a93de82 | |||
8b2de68df7 | |||
5ce045ca3d | |||
3e948575ba | |||
3edd43899a | |||
82140ddc32 | |||
73a3b6b65c | |||
82156d8fe6 | |||
cb845c54d3 | |||
9cf0ecacb3 | |||
f1a20bc962 | |||
4c19a92220 | |||
c5432f1708 | |||
76ae519408 | |||
0cae40f435 | |||
1d560f756c | |||
78ceb4bd18 | |||
982debb892 | |||
86c15a6982 | |||
a5aa63615d | |||
e796bae7cb | |||
1a0daf2109 | |||
7841c95ad7 | |||
ece41fa2e9 | |||
64bcdee5e8 | |||
587732eb3f | |||
9d13880be5 | |||
88e0868a4c | |||
4298dd8d73 | |||
f9540908c2 | |||
067052251a | |||
e481bfbed4 | |||
8e7948cabe | |||
263a9017cd | |||
25b005741b | |||
500cc561d9 | |||
ced658f427 | |||
b4e09055d9 | |||
94fba89c8f | |||
dca5793418 | |||
2e941ce36e | |||
1081db300f | |||
7069c2c31b | |||
36f9723a1d | |||
754856e667 | |||
1aca3e811a | |||
9063f34652 | |||
98446c5cad | |||
28c533d906 | |||
9975e36aba | |||
15a764c5a5 | |||
8b3715935d | |||
36083d8eb3 | |||
7e774853fc | |||
0e47423514 | |||
58ad940288 | |||
6216c17011 | |||
2b6b3dc32e | |||
724da873d2 | |||
647206ee13 | |||
1ed0d1c6a0 | |||
94ae6256ea | |||
98e8d758a1 | |||
4af826c741 | |||
cf88f21ebc | |||
829c22d3fb | |||
de90e60b2e | |||
c70b993747 | |||
395dac8b8c | |||
6e6974ec08 | |||
63ffa48dc4 | |||
54844ed993 | |||
c1a010f016 | |||
ca3a9dd069 | |||
06bf9e3d8e | |||
e74c9f1010 | |||
db0169521b | |||
ebc5a65388 | |||
e811bcb410 | |||
d169de2298 | |||
fcbbf0fd23 | |||
9fd63dbb30 | |||
6b2abf3103 | |||
bdc4cb1002 | |||
390b5ffe71 | |||
3c530df89f | |||
2917a123ac | |||
8aeeb8b811 | |||
4f57fbe3b2 | |||
de784e4cdc | |||
c54e4b0184 | |||
89c7bd290a | |||
17f1c85af2 | |||
8136a01507 | |||
0ca0bcf2d7 | |||
30ebcd6d87 | |||
5970d07a8d | |||
f93ff94b3b | |||
2301e9a226 | |||
5fb74da197 | |||
a32ea8de6b | |||
e35144cc6b | |||
b59180604f | |||
1773df817c | |||
d29e7e566d | |||
9682acba86 | |||
e6e15387aa | |||
f957853a67 | |||
703dc74368 | |||
df28fd7105 | |||
2a0e6abb6f | |||
330acc8257 | |||
5d625316a5 | |||
7252e2a4c5 | |||
fab7a776fe | |||
62eef6a209 | |||
7c5a3c7353 | |||
fd1cf4ea6c | |||
28ee2a5a44 | |||
d47027e561 | |||
cc0fb6207b | |||
f316655358 | |||
e52d80980c | |||
e9f0f17180 | |||
6e27c12b46 | |||
186e209d09 | |||
430074a982 | |||
25ff52876c | |||
73d250a182 | |||
54635c32da | |||
53eb60baa3 | |||
6b9e8582a4 | |||
467332f0fe | |||
7a175c2a2e | |||
cd3ad88b65 | |||
cf34f7dae2 | |||
70ebba06ff | |||
e09c53bcc5 | |||
d72ffb9490 | |||
aff1f7acab | |||
c7d2f403a0 | |||
0ad1759cd5 | |||
1238f58800 | |||
a786175c4f | |||
1a7ef52e65 | |||
14d9e2de91 | |||
e16e7baac6 | |||
f0165acd8d | |||
312686d50f | |||
bb01ef8cf5 | |||
6419712ff2 | |||
b6e703d96e | |||
8a33a05610 | |||
73a3646ab7 | |||
c7cf0d2c44 | |||
0f4ff81b09 | |||
13695d0061 | |||
d3afc0335f | |||
07bd46d6d6 | |||
ce36877c69 | |||
7bc7da1b3b | |||
0cb4a67fd0 | |||
c53f608eba | |||
1bb6efbc76 | |||
e13ac69220 | |||
8deb881f99 | |||
01a00dd30f | |||
13dd90ec4b | |||
7eb4972f99 | |||
3ae015a752 | |||
5214a504db | |||
2666f952af | |||
dd7054cf48 | |||
2396704564 | |||
aa7edea695 | |||
7a2dfa72ec | |||
01af86446e | |||
3d30f79176 | |||
49b8331361 | |||
435837b1cd | |||
b777d25888 | |||
1186432bb0 | |||
e2c03310dd | |||
04b04602ca | |||
70b216df8d | |||
2e67161917 | |||
e307b5c887 | |||
68680bb618 | |||
14d18e5890 | |||
34b569cbc7 | |||
7a056d76e3 | |||
53381691df | |||
6659468d18 | |||
fc66df1797 | |||
6085205764 | |||
8b019cb80e | |||
e5513eea5c | |||
4c394592aa | |||
3a59acc2b5 | |||
8d659757cb | |||
8186d08928 | |||
01d9659976 | |||
83d8d645ee | |||
3429ed7d90 | |||
59569a41c1 | |||
2a009f311f | |||
bd3b301072 | |||
c8a11f61bc | |||
9255f28823 | |||
464e17c449 | |||
c13e3c3dbd | |||
21e8911239 | |||
37177e83a6 | |||
ace08b19c6 | |||
305077d5cd | |||
702506f9a1 | |||
43b15cd1ef | |||
0d06931b74 | |||
b64d32990e | |||
a66aa8a009 | |||
dc4ee3c83e | |||
fa086893aa | |||
d957e3aba2 | |||
49072fdbaa | |||
b2413adad6 | |||
d01b5969eb | |||
fd963889d2 | |||
c43e787025 | |||
ea0e38f364 | |||
92c550e17d | |||
7618c3548c | |||
7229b3d980 | |||
a8bafada38 | |||
7e6b42352e | |||
db8e7e1766 | |||
fdeead2b52 | |||
c54f644f26 | |||
fb7ff43546 | |||
cfa917eb78 | |||
33e419ff5b | |||
cee7a19571 | |||
d1a6b3ff87 | |||
2526be0ded | |||
8aa468feb7 | |||
f0272d1d37 | |||
2a1123485f | |||
dc7abd6506 | |||
c534dc15e2 | |||
4185bb8f50 | |||
fb0c4e8783 | |||
69bb7d8a3d | |||
87a63a0e29 | |||
3fcbbeb8b0 | |||
5c34a983fe | |||
ff9546b323 | |||
4f247ce328 | |||
f802f9ed9b | |||
36da57b4c5 | |||
1243fced11 | |||
b8d9a4dc19 | |||
ad73e693cb | |||
0d3c0ce08c | |||
4d3369babf | |||
8f7237196c | |||
b0148fcc53 | |||
bae442ee81 | |||
9a8ae08b77 | |||
ffccb6175a | |||
8abd390290 | |||
14bb69aef0 | |||
57bc358ec1 | |||
a41d122e28 | |||
48ef4c3fa1 | |||
4432c09a61 | |||
45bd64688e | |||
dc2f4fdfd1 | |||
47ec40d737 | |||
f9821a542b | |||
210b878771 | |||
bfc726a34a | |||
fcdbe96335 | |||
84b93ca085 | |||
fc3df9c907 | |||
423b7fe2ba | |||
ed34d94da4 | |||
0024a140bd | |||
ce6a5ca76f | |||
6a02ebf821 | |||
f8b3301c02 | |||
3cdf8fff36 | |||
f3c60953a9 | |||
af414c3606 | |||
65a0858f7a | |||
2e75436637 | |||
5aa652be29 | |||
ebd6e3f1bf | |||
1bfeb07d51 | |||
bc52eaf3f6 | |||
ea6e22b3d2 | |||
010f4937a1 | |||
57342553e8 | |||
836c038fd7 | |||
c7b20f56a6 | |||
e1ffab5509 | |||
654d1a18d0 | |||
369f0ef836 | |||
699fc874f1 | |||
d1174a0924 | |||
80702d4874 | |||
ef1c479e1d | |||
35a3cd1bf4 | |||
f7d8124455 | |||
bbe8885cf5 | |||
8275603fdf | |||
6d019cb983 | |||
52a502cc5a | |||
5adca7f5dd | |||
57c7be02c4 | |||
72b1203b26 | |||
eb0112d799 | |||
6fdcf8de48 | |||
03175642e1 | |||
c96f45fb42 | |||
6f00b0a6bf | |||
52945948d8 | |||
be41b2c749 | |||
75ef111a18 | |||
d796331f19 | |||
1c92a03ad5 | |||
31a95d7074 | |||
9e3fe1cd04 | |||
57be504089 | |||
6bd855a888 | |||
2599f9a6e5 | |||
ad41aa48b2 | |||
89f1847607 | |||
beec06fa96 | |||
2b18b6fb80 | |||
0fa9b26da2 | |||
bbb0a590cf | |||
b5ff7b0a6c | |||
3eb68560d8 | |||
b218b25be1 | |||
12e55dca97 | |||
3591f7c584 | |||
db12f45e0f | |||
119d37e4f3 | |||
8bf0a8e8f0 | |||
142f14bb44 | |||
3187d04df6 | |||
b39ccc6640 | |||
df2c229931 | |||
0173132b8c | |||
d06194ef3b | |||
c594e15920 | |||
0685c79a49 | |||
87ade208bf | |||
6f3c566b3c | |||
db9b380b49 | |||
7bc8edc9d3 | |||
161686879e | |||
3994d23478 | |||
65275c7ca5 | |||
5c8f29a255 | |||
e6d8052c35 | |||
a6ef0c2876 | |||
67a251c8de | |||
cccfc7b504 | |||
6da72badbd | |||
49a1cfdb94 | |||
8099749ae1 | |||
cd38485a52 | |||
f4f0c6bca7 | |||
a351bab66a | |||
69a578e496 | |||
f712ad06b1 | |||
6f31879f00 | |||
0f645dcaab | |||
2a30a45b41 | |||
7eb91355eb | |||
0259513e6c | |||
6f8f29de3c | |||
5dd0c7ce9f | |||
e52a77bba2 | |||
32347ab51d | |||
e447641434 | |||
b3630a67c0 | |||
41dba38568 | |||
680954a369 | |||
f5e3c66dc3 | |||
9695724b4d | |||
e783630176 | |||
a681c6ccc1 | |||
e83b865470 | |||
82c2e62400 | |||
a12c4a0773 | |||
db14c5b3de | |||
64f4430c7c | |||
1d1ad6c85a | |||
1640c9349d | |||
c08c36b456 | |||
f70946156f | |||
5d43285930 | |||
4363159c9e | |||
0812b4b2a7 | |||
b6fe047973 | |||
cbf0c4ce14 | |||
659807f16c | |||
34534e184d |
434
README.md
434
README.md
@ -1,94 +1,97 @@
|
|||||||
Mega Collection of PowerShell Scripts
|
Mega Collection of PowerShell Scripts
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder.**
|
**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.**
|
||||||
|
|
||||||
**[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*)
|
**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)**
|
||||||
|
|
||||||
🔊 Scripts for Audio & Voice
|
🔊 Scripts for Audio & Voice
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) |
|
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) |
|
||||||
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more »](docs/play-beep-sound.md) |
|
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [More »](docs/play-beep-sound.md) |
|
||||||
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more »](docs/play-files.md) |
|
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [More »](docs/play-files.md) |
|
||||||
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more »](docs/play-happy-birthday.md) |
|
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [More »](docs/play-happy-birthday.md) |
|
||||||
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more »](docs/play-imperial-march.md) |
|
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [More »](docs/play-imperial-march.md) |
|
||||||
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more »](docs/play-jingle-bells.md) |
|
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [More »](docs/play-jingle-bells.md) |
|
||||||
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more »](docs/play-mission-impossible.md)|
|
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [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-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [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-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [More »](docs/play-mp3.md) |
|
||||||
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more »](docs/play-super-mario.md) |
|
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [More »](docs/play-super-mario.md) |
|
||||||
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more »](docs/play-tetris-melody.md) |
|
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [More »](docs/play-tetris-melody.md) |
|
||||||
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more »](docs/speak-checklist.md) |
|
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [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-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [More »](docs/speak-countdown.md) |
|
||||||
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more »](docs/speak-english.md) |
|
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [More »](docs/speak-english.md) |
|
||||||
| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more »](docs/speak-epub.md) |
|
| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [More »](docs/speak-epub.md) |
|
||||||
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more »](docs/speak-file.md) |
|
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [More »](docs/speak-file.md) |
|
||||||
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more »](docs/speak-french.md) |
|
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [More »](docs/speak-french.md) |
|
||||||
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more »](docs/speak-german.md) |
|
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [More »](docs/speak-german.md) |
|
||||||
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more »](docs/speak-italian.md) |
|
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [More »](docs/speak-italian.md) |
|
||||||
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more »](docs/speak-spanish.md) |
|
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [More »](docs/speak-spanish.md) |
|
||||||
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more »](docs/speak-test.md) |
|
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [More »](docs/speak-test.md) |
|
||||||
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more »](docs/speak-text.md) |
|
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [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) |
|
| [spell-word.ps1](scripts/spell-word.ps1) | Spells the given word by text-to-speech. [More »](docs/spell-word.md) |
|
||||||
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more »](docs/tell-quote.md) |
|
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [More »](docs/tell-joke.md) |
|
||||||
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more »](docs/turn-volume-down.md) |
|
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [More »](docs/tell-quote.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-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [More »](docs/turn-volume-down.md) |
|
||||||
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more »](docs/turn-volume-off-audio.md) |
|
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [More »](docs/turn-volume-fully-up.md) |
|
||||||
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more »](docs/turn-volume-on.md) |
|
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [More »](docs/turn-volume-off-audio.md) |
|
||||||
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more »](docs/turn-volume-up.md) |
|
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [More »](docs/turn-volume-on.md) |
|
||||||
|
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [More »](docs/turn-volume-up.md) |
|
||||||
|
|
||||||
|
|
||||||
⚙️ Scripts to Manage Computers
|
⚙️ Scripts for Computer Management
|
||||||
-------------------------------
|
----------------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||||
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) |
|
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) |
|
||||||
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more »](docs/check-cpu.md) |
|
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [More »](docs/check-cpu.md) |
|
||||||
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more »](docs/check-dns.md) |
|
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [More »](docs/check-dns.md) |
|
||||||
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more »](docs/check-drive-space.md) |
|
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [More »](docs/check-drive-space.md) |
|
||||||
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more »](docs/check-file-system.md)|
|
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [More »](docs/check-file-system.md)|
|
||||||
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more »](docs/check-health.md) |
|
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [More »](docs/check-health.md) |
|
||||||
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more »](docs/check-ping.md) |
|
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [More »](docs/check-ping.md) |
|
||||||
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more »](docs/check-swap-space.md) |
|
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [More »](docs/check-swap-space.md) |
|
||||||
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more »](docs/check-windows-system-files.md) |
|
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [More »](docs/check-windows-system-files.md) |
|
||||||
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more »](docs/enable-crash-dumps.md) |
|
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [More »](docs/enable-crash-dumps.md) |
|
||||||
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more »](docs/hibernate.md) |
|
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [More »](docs/hibernate.md) |
|
||||||
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more »](docs/install-github-cli.md) |
|
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [More »](docs/install-github-cli.md) |
|
||||||
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more »](docs/install-chrome-browser.md) |
|
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [More »](docs/install-chrome-browser.md) |
|
||||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more »](docs/install-firefox.md) |
|
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [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-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [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-salesforce-cli.ps1](scripts/install-salesforce-cli.ps1) | Installs the Salesforce CLI (sfdx). [More »](docs/install-salesforce-cli.md) |
|
||||||
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more »](docs/install-ssh-server.md) |
|
| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [More »](docs/install-ssh-client.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-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [More »](docs/install-ssh-server.md) |
|
||||||
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more »](docs/install-updates.md) |
|
| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [More »](docs/install-signal-cli.md)|
|
||||||
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more »](docs/install-wsl.md)|
|
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [More »](docs/install-updates.md) |
|
||||||
| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more »](docs/list-installed-apps.md) |
|
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [More »](docs/install-wsl.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-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [More »](docs/list-installed-apps.md) |
|
||||||
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more »](docs/list-dns-servers.md) |
|
| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [More »](docs/list-cli-tools.md) |
|
||||||
| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more »](docs/list-drives.md) |
|
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [More »](docs/list-dns-servers.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-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [More »](docs/list-drives.md) |
|
||||||
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more »](docs/list-installed-software.md) |
|
| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [More »](docs/list-network-shares.md) |
|
||||||
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more »](docs/list-printers.md) |
|
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [More »](docs/list-installed-software.md) |
|
||||||
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more »](docs/list-print-jobs.md) |
|
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [More »](docs/list-printers.md) |
|
||||||
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more »](docs/list-processes.md) |
|
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [More »](docs/list-print-jobs.md) |
|
||||||
| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more »](docs/list-services.md) |
|
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [More »](docs/list-processes.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-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [More »](docs/list-services.md) |
|
||||||
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more »](docs/list-tasks.md) |
|
| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [More »](docs/list-system-info.md) |
|
||||||
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more »](docs/list-timezone.md) |
|
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [More »](docs/list-tasks.md) |
|
||||||
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more »](docs/list-timezones.md) |
|
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [More »](docs/list-timezone.md) |
|
||||||
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more »](docs/list-user-groups.md) |
|
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [More »](docs/list-timezones.md) |
|
||||||
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more »](docs/poweroff.md) |
|
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [More »](docs/list-user-groups.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) |
|
| [new-power-plan.ps1](scripts/new-power-plan.ps1) | Creates a custom power plan based on the active one. [More »](docs/new-power-plan.md) |
|
||||||
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more »](docs/reboot.md) |
|
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [More »](docs/poweroff.md) |
|
||||||
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more »](docs/remove-print-jobs.md) |
|
| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [More »](docs/query-smart-data.md) |
|
||||||
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more »](docs/restart-network-adapters.md)|
|
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [More »](docs/reboot.md) |
|
||||||
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more »](docs/upgrade-ubuntu.md) |
|
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [More »](docs/remove-print-jobs.md) |
|
||||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a remote computer using Wake-on-LAN. [Read more »](docs/wakeup.md) |
|
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [More »](docs/restart-network-adapters.md)|
|
||||||
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) |
|
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [More »](docs/upgrade-ubuntu.md) |
|
||||||
|
| [wake-up-host.ps1](scripts/wake-up-host.ps1) | Wakes up a computer using Wake-on-LAN. [More »](docs/wake-up-host.md) |
|
||||||
|
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [More »](docs/windefender.md) |
|
||||||
|
|
||||||
|
|
||||||
💻 Scripts for the Desktop
|
💻 Scripts for the Desktop
|
||||||
@ -96,25 +99,25 @@ Mega Collection of PowerShell Scripts
|
|||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||||
| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more...](docs/close-calculator.md) |
|
| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more »](docs/close-calculator.md) |
|
||||||
| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [Read more...](docs/close-cortana.md) |
|
| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [More »](docs/close-cortana.md) |
|
||||||
| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [Read more...](docs/close-chrome.md) |
|
| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [More »](docs/close-chrome.md) |
|
||||||
| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](docs/close-program.md) |
|
| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [More »](docs/close-program.md) |
|
||||||
| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [Read more...](docs/close-edge.md) |
|
| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [More »](docs/close-edge.md) |
|
||||||
| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [Read more...](docs/close-file-explorer.md) |
|
| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [More »](docs/close-file-explorer.md) |
|
||||||
| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [Read more...](docs/close-edge.md) |
|
| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [More »](docs/close-edge.md) |
|
||||||
| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [Read more...](docs/close-microsoft-store.md) |
|
| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [More »](docs/close-microsoft-store.md) |
|
||||||
| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [Read more...](docs/close-netflix.md) |
|
| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [More »](docs/close-netflix.md) |
|
||||||
| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [Read more...](docs/close-onedrive.md) |
|
| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [More »](docs/close-onedrive.md) |
|
||||||
| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [Read more...](docs/close-serenade.md) |
|
| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [More »](docs/close-serenade.md) |
|
||||||
| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [Read more...](docs/close-snipping-tool.md) |
|
| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [More »](docs/close-snipping-tool.md) |
|
||||||
| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [Read more...](docs/close-spotify.md) |
|
| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [More »](docs/close-spotify.md) |
|
||||||
| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [Read more...](docs/close-system-settings.md) |
|
| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [More »](docs/close-system-settings.md) |
|
||||||
| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [Read more...](docs/close-task-manager.md) |
|
| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [More »](docs/close-task-manager.md) |
|
||||||
| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [Read more...](docs/close-thunderbird.md) |
|
| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [More »](docs/close-thunderbird.md) |
|
||||||
| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [Read more...](docs/close-vlc.md) |
|
| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [More »](docs/close-vlc.md) |
|
||||||
| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [Read more...](docs/close-windows-terminal.md) |
|
| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [More »](docs/close-windows-terminal.md) |
|
||||||
| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [Read more...](docs/enable-god-mode.md) |
|
| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [More »](docs/enable-god-mode.md) |
|
||||||
| [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
| [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
||||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) |
|
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) |
|
||||||
| [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) |
|
| [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) |
|
||||||
@ -167,12 +170,12 @@ Mega Collection of PowerShell Scripts
|
|||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||||
| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more...](docs/cd-autostart.md) |
|
| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more »](docs/cd-autostart.md) |
|
||||||
| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [Read more...](docs/cd-desktop.md) |
|
| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [More »](docs/cd-desktop.md) |
|
||||||
| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read more...](docs/cd-docs.md) |
|
| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [More »](docs/cd-docs.md) |
|
||||||
| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [Read more...](docs/cd-downloads.md) |
|
| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [More »](docs/cd-downloads.md) |
|
||||||
| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read more...](docs/cd-dropbox.md) |
|
| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [More »](docs/cd-dropbox.md) |
|
||||||
| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [Read more...](docs/cd-home.md) |
|
| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [More »](docs/cd-home.md) |
|
||||||
| [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) |
|
| [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) |
|
||||||
| [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) |
|
| [cd-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-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
||||||
@ -226,12 +229,12 @@ Mega Collection of PowerShell Scripts
|
|||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
||||||
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) |
|
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) |
|
||||||
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more »](docs/convert-mysql2csv.md) |
|
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [More »](docs/convert-mysql2csv.md) |
|
||||||
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more »](docs/convert-ps2bat.md) |
|
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [More »](docs/convert-ps2bat.md) |
|
||||||
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more »](docs/convert-ps2md.md) |
|
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [More »](docs/convert-ps2md.md) |
|
||||||
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more »](docs/convert-sql2csv.md) |
|
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [More »](docs/convert-sql2csv.md) |
|
||||||
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more »](docs/convert-txt2wav.md) |
|
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [More »](docs/convert-txt2wav.md) |
|
||||||
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more »](docs/export-to-manuals.md) |
|
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [More »](docs/export-to-manuals.md) |
|
||||||
|
|
||||||
|
|
||||||
📝 Scripts for Git
|
📝 Scripts for Git
|
||||||
@ -240,121 +243,122 @@ Mega Collection of PowerShell Scripts
|
|||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
||||||
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more »](docs/build-repo.md) |
|
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more »](docs/build-repo.md) |
|
||||||
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more »](docs/build-repos.md) |
|
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [More »](docs/build-repos.md) |
|
||||||
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more »](docs/check-repo.md) |
|
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [More »](docs/check-repo.md) |
|
||||||
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more »](docs/clean-repo.md) |
|
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [More »](docs/clean-repo.md) |
|
||||||
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more »](docs/clean-repos.md) |
|
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [More »](docs/clean-repos.md) |
|
||||||
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more »](docs/clone-repos.md) |
|
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [More »](docs/clone-repos.md) |
|
||||||
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more »](docs/configure-git.md) |
|
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [More »](docs/configure-git.md) |
|
||||||
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more »](docs/fetch-repo.md) |
|
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [More »](docs/fetch-repo.md) |
|
||||||
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more »](docs/fetch-repos.md) |
|
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [More »](docs/fetch-repos.md) |
|
||||||
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more »](docs/list-branches.md) |
|
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [More »](docs/list-branches.md) |
|
||||||
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more »](docs/list-commit-stats.md) |
|
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [More »](docs/list-commit-stats.md) |
|
||||||
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more »](docs/list-commits.md) |
|
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [More »](docs/list-commits.md) |
|
||||||
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more »](docs/list-latest-tag.md) |
|
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [More »](docs/list-latest-tag.md) |
|
||||||
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more »](docs/list-latest-tags.md) |
|
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [More »](docs/list-latest-tags.md) |
|
||||||
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more »](docs/list-repos.md) |
|
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [More »](docs/list-repos.md) |
|
||||||
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more »](docs/list-submodules.md) |
|
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [More »](docs/list-submodules.md) |
|
||||||
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more »](docs/list-tags.md) |
|
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [More »](docs/list-tags.md) |
|
||||||
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more »](docs/new-branch.md) |
|
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [More »](docs/new-branch.md) |
|
||||||
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more »](docs/new-tag.md) |
|
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [More »](docs/new-tag.md) |
|
||||||
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more »](docs/pick-commit.md) |
|
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [More »](docs/pick-commit.md) |
|
||||||
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more »](docs/pull-repo.md) |
|
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates into a Git repository. [More »](docs/pull-repo.md) |
|
||||||
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more »](docs/pull-repos.md) |
|
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates into all Git repositories in a folder. [More »](docs/pull-repos.md) |
|
||||||
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more »](docs/remove-tag.md) |
|
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [More »](docs/remove-tag.md) |
|
||||||
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more »](docs/switch-branch.md) |
|
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [More »](docs/switch-branch.md) |
|
||||||
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more »](docs/sync-repo.md) |
|
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [More »](docs/sync-repo.md) |
|
||||||
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more »](docs/write-changelog.md) |
|
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [More »](docs/write-changelog.md) |
|
||||||
|
|
||||||
🔎 Scripts for PowerShell
|
🔎 Scripts for PowerShell
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
||||||
| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](docs/daily-tasks.sh.md) |
|
| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more »](docs/daily-tasks.sh.md) |
|
||||||
| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](docs/introduce-powershell.md) |
|
| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [More »](docs/introduce-powershell.md) |
|
||||||
| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](docs/list-aliases.md) |
|
| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [More »](docs/list-aliases.md) |
|
||||||
| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](docs/list-automatic-variables.md)|
|
| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [More »](docs/list-automatic-variables.md)|
|
||||||
| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](docs/list-cheat-sheet.md) |
|
| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [More »](docs/list-cheat-sheet.md) |
|
||||||
| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](docs/list-cmdlets.md) |
|
| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [More »](docs/list-cmdlets.md) |
|
||||||
| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [Read more...](docs/list-console-colors.md) |
|
| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [More »](docs/list-console-colors.md) |
|
||||||
| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [Read more...](docs/list-modules.md) |
|
| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [More »](docs/list-modules.md) |
|
||||||
| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [Read more...](docs/list-profiles.md) |
|
| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [More »](docs/list-profiles.md) |
|
||||||
| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [Read more...](docs/list-scripts.md) |
|
| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [More »](docs/list-scripts.md) |
|
||||||
| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [Read more...](docs/new-script.md) |
|
| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [More »](docs/new-script.md) |
|
||||||
| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [Read more...](docs/set-profile.md) |
|
| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [More »](docs/set-profile.md) |
|
||||||
|
|
||||||
🛒 Various PowerShell Scripts
|
🛒 Various PowerShell Scripts
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more...](docs/add-memo.md) |
|
| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more »](docs/add-memo.md) |
|
||||||
| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1)| Checks the given IPv4 address for validity. [Read more...](docs/check-ipv4-address.md) |
|
| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1) | Checks the given IPv4 address for validity. [More »](docs/check-ipv4-address.md) |
|
||||||
| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1)| Checks the given IPv6 address for validity. [Read more...](docs/check-ipv6-address.md) |
|
| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1) | Checks the given IPv6 address for validity. [More »](docs/check-ipv6-address.md) |
|
||||||
| [check-mac-address.ps1](scripts/check-mac-address.ps1)| Checks the given MAC address for validity. [Read more...](docs/check-mac-address.md) |
|
| [check-mac-address.ps1](scripts/check-mac-address.ps1) | Checks the given MAC address for validity. [More »](docs/check-mac-address.md) |
|
||||||
| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1)| Checks the given subnet mask for validity. [Read more...](docs/check-subnet-mask.md) |
|
| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1) | Checks the given subnet mask for validity. [More »](docs/check-subnet-mask.md) |
|
||||||
| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [Read more...](docs/check-weather.md) |
|
| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [More »](docs/check-weather.md) |
|
||||||
| [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) |
|
| [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) |
|
||||||
| [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) |
|
| [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) |
|
||||||
| [list-city-weather.ps1](scripts/list-city-weather.ps1)| Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) |
|
| [list-city-weather.ps1](scripts/list-city-weather.ps1) | Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) |
|
||||||
| [list-countries.ps1](scripts/list-countries.ps1) | Lists details of all countries. [Read more...](docs/list-countries.md) |
|
| [list-countries.ps1](scripts/list-countries.ps1) | Lists details of all countries. [Read more...](docs/list-countries.md) |
|
||||||
| [list-credits.ps1](scripts/list-credits.ps1) | Shows the credits. [Read more...](docs/list-credits.md) |
|
| [list-credits.ps1](scripts/list-credits.ps1) | Shows the credits. [Read more...](docs/list-credits.md) |
|
||||||
| [list-crypto-rates.ps1](scripts/list-crypto-rates.ps1)| Lists the current crypto exchange rates. [Read more...](docs/list-crypto-rates.md) |
|
| [list-crypto-rates.ps1](scripts/list-crypto-rates.ps1) | Lists the current crypto exchange rates. [Read more...](docs/list-crypto-rates.md) |
|
||||||
| [list-environment-variables.ps1](scripts/list-environment-variables.ps1)| Lists all environment variables. [Read more...](docs/list-environment-variables.md)|
|
| [list-environment-variables.ps1](scripts/list-environment-variables.ps1) | Lists all environment variables. [Read more...](docs/list-environment-variables.md) |
|
||||||
| [list-emojis.ps1](scripts/list-emojis.ps1) | Lists the emojis of Unicode 13.0. [Read more...](docs/list-emojis.md) |
|
| [list-emojis.ps1](scripts/list-emojis.ps1) | Lists the emojis of Unicode 13.0. [Read more...](docs/list-emojis.md) |
|
||||||
| [list-fritzbox-calls.ps1](scripts/list-fritzbox-calls.ps1)| Lists the FRITZ!Box calls. [Read more...](docs/list-fritzbox-calls.md) |
|
| [list-fritzbox-calls.ps1](scripts/list-fritzbox-calls.ps1) | Lists the FRITZ!Box calls. [Read more...](docs/list-fritzbox-calls.md) |
|
||||||
| [list-fritzbox-devices.ps1](scripts/list-fritzbox-devices.ps1)| Lists FRITZ!Box's known devices. [Read more...](docs/list-fritzbox-devices.md) |
|
| [list-fritzbox-devices.ps1](scripts/list-fritzbox-devices.ps1) | Lists FRITZ!Box's known devices. [Read more...](docs/list-fritzbox-devices.md) |
|
||||||
| [list-earthquakes.ps1](scripts/list-earthquakes.ps1) | Lists earthquakes with magnitude >= 6.0 for the last 30 days. [Read more...](docs/list-earthquakes.md) |
|
| [list-earthquakes.ps1](scripts/list-earthquakes.ps1) | Lists earthquakes with magnitude >= 6.0 for the last 30 days. [Read more...](docs/list-earthquakes.md) |
|
||||||
| [list-exchange-rates.ps1](scripts/list-exchange-rates.ps1)| Lists the current exchange rates for the given currency. [Read more...](docs/list-exchange-rates.md) |
|
| [list-exchange-rates.ps1](scripts/list-exchange-rates.ps1) | Lists the current exchange rates for the given currency. [Read more...](docs/list-exchange-rates.md) |
|
||||||
| [list-memos.ps1](scripts/list-memos.ps1) | Lists the memos at $HOME/Memos.csv. [Read more...](docs/list-memos.md) |
|
| [list-memos.ps1](scripts/list-memos.ps1) | Lists the memos at $HOME/Memos.csv. [Read more...](docs/list-memos.md) |
|
||||||
| [list-mysql-tables.ps1](scripts/list-mysql-tables.ps1)| Lists the MySQL server tables. [Read more...](docs/list-mysql-tables.md) |
|
| [list-mysql-tables.ps1](scripts/list-mysql-tables.ps1) | Lists the MySQL server tables. [Read more...](docs/list-mysql-tables.md) |
|
||||||
| [list-news.ps1](scripts/list-news.ps1) | Lists the latest news. [Read more...](docs/list-news.md) |
|
| [list-news.ps1](scripts/list-news.ps1) | Lists the latest news. [Read more...](docs/list-news.md) |
|
||||||
| [list-os-releases.ps1](scripts/list-os-releases.ps1) | Lists operating system releases and download URL. [Read more...](docs/list-os-releases.md) |
|
| [list-os-releases.ps1](scripts/list-os-releases.ps1) | Lists operating system releases and download URL. [Read more...](docs/list-os-releases.md) |
|
||||||
| [list-os-updates.ps1](scripts/list-os-updates.ps1) | Lists operating system updates. [Read more...](docs/list-os-updates.md) |
|
| [list-os-updates.ps1](scripts/list-os-updates.ps1) | Lists operating system updates. [Read more...](docs/list-os-updates.md) |
|
||||||
| [list-passwords.ps1](scripts/list-passwords.ps1) | Prints a list of random passwords. [Read more...](docs/list-passwords.md) |
|
| [list-passwords.ps1](scripts/list-passwords.ps1) | Prints a list of random passwords. [Read more...](docs/list-passwords.md) |
|
||||||
| [list-pins.ps1](scripts/list-pins.ps1) | Prints a list of random PIN's. [Read more...](docs/list-pins.md) |
|
| [list-pins.ps1](scripts/list-pins.ps1) | Prints a list of random PIN's. [Read more...](docs/list-pins.md) |
|
||||||
| [list-sql-tables.ps1](scripts/list-sql-tables.ps1) | Lists the SQL server tables. [Read more...](docs/list-sql-tables.md) |
|
| [list-sql-tables.ps1](scripts/list-sql-tables.ps1) | Lists the SQL server tables. [Read more...](docs/list-sql-tables.md) |
|
||||||
| [list-tiobe-index.ps1](scripts/list-tiobe-index.ps1) | Lists the TIOBE index of top programming languages. [Read more...](docs/list-tiobe-index.md) |
|
| [list-tiobe-index.ps1](scripts/list-tiobe-index.ps1) | Lists the TIOBE index of top programming languages. [Read more...](docs/list-tiobe-index.md) |
|
||||||
| [list-weather.ps1](scripts/list-weather.ps1) | Lists the hourly weather. [Read more...](docs/list-weather.md) |
|
| [list-weather.ps1](scripts/list-weather.ps1) | Lists the hourly weather. [Read more...](docs/list-weather.md) |
|
||||||
| [locate-city.ps1](scripts/locate-city.ps1) | Prints the geographic location of the given city. [Read more...](docs/locate-city.md) |
|
| [locate-city.ps1](scripts/locate-city.ps1) | Prints the geographic location of the given city. [Read more...](docs/locate-city.md) |
|
||||||
| [locate-ipaddress.ps1](scripts/locate-ipaddress.ps1) | Prints the geographic location of the given IP address. [Read more...](docs/locate-ipaddress.md) |
|
| [locate-ipaddress.ps1](scripts/locate-ipaddress.ps1) | Prints the geographic location of the given IP address. [Read more...](docs/locate-ipaddress.md) |
|
||||||
| [locate-zip-code.ps1](scripts/locate-zip-code.ps1) | Prints the geographic location of the given zip-code. [Read more...](docs/locate-zip-code.md) |
|
| [locate-zip-code.ps1](scripts/locate-zip-code.ps1) | Prints the geographic location of the given zip-code. [Read more...](docs/locate-zip-code.md) |
|
||||||
| [moon.ps1](scripts/moon.ps1) | Prints the current moon phase. [Read more...](docs/moon.md) |
|
| [moon.ps1](scripts/moon.ps1) | Prints the current moon phase. [Read more...](docs/moon.md) |
|
||||||
| [new-qrcode.ps1](scripts/new-qrcode.ps1) | Generates a new QR code image file. [Read more...](docs/new-qrcode.md) |
|
| [new-qrcode.ps1](scripts/new-qrcode.ps1) | Generates a new QR code image file. [Read more...](docs/new-qrcode.md) |
|
||||||
| [reboot-fritzbox.ps1](scripts/reboot-fritzbox.ps1) | Reboots the FRITZ!box device. [Read more...](docs/reboot-fritzbox.md) |
|
| [reboot-fritzbox.ps1](scripts/reboot-fritzbox.ps1) | Reboots the FRITZ!box device. [Read more...](docs/reboot-fritzbox.md) |
|
||||||
| [scan-ports.ps1](scripts/scan-ports.ps1) | Scans the network for open/closed ports. [Read more...](docs/scan-ports.md) |
|
| [scan-ports.ps1](scripts/scan-ports.ps1) | Scans the network for open/closed ports. [Read more...](docs/scan-ports.md) |
|
||||||
| [send-email.ps1](scripts/send-email.ps1) | Sends an email message. [Read more...](docs/send-email.md) |
|
| [send-email.ps1](scripts/send-email.ps1) | Sends an email message. [Read more...](docs/send-email.md) |
|
||||||
| [send-tcp.ps1](scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port. [Read more...](docs/send-tcp.md) |
|
| [send-tcp.ps1](scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port. [Read more...](docs/send-tcp.md) |
|
||||||
| [send-udp.ps1](scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port. [Read more...](docs/send-udp.md) |
|
| [send-udp.ps1](scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port. [Read more...](docs/send-udp.md) |
|
||||||
| [set-timer.ps1](scripts/set-timer.ps1) | Sets a timer for a countdown. [Read more...](docs/set-timer.md) |
|
| [set-timer.ps1](scripts/set-timer.ps1) | Sets a timer for a countdown. [Read more...](docs/set-timer.md) |
|
||||||
| [simulate-presence.ps1](scripts/simulate-presence.ps1)| Simulates the human presence against burglars. [Read more...](docs/simulate-presence.md) |
|
| [simulate-presence.ps1](scripts/simulate-presence.ps1) | Simulates the human presence against burglars. [Read more...](docs/simulate-presence.md) |
|
||||||
| [start-calibre-server.ps1](scripts/start-calibre-server.ps1)| Starts a local Calibre server. [Read more...](docs/start-calibre-server.md) |
|
| [start-calibre-server.ps1](scripts/start-calibre-server.ps1) | Starts a local Calibre server. [Read more...](docs/start-calibre-server.md) |
|
||||||
| [start-ipfs-server.ps1](scripts/start-ipfs-server.ps1)| Starts a local IPFS server. [Read more...](docs/start-ipfs-server.md) |
|
| [start-ipfs-server.ps1](scripts/start-ipfs-server.ps1) | Starts a local IPFS server. [Read more...](docs/start-ipfs-server.md) |
|
||||||
| [switch-shelly1.ps1](scripts/switch-shelly1.ps1) | Switches a Shelly1 device in the local network. [Read more...](docs/switch-shelly1.md) |
|
| [switch-shelly1.ps1](scripts/switch-shelly1.ps1) | Switches a Shelly1 device in the local network. [Read more...](docs/switch-shelly1.md) |
|
||||||
| [translate-file.ps1](scripts/translate-file.ps1) | Translates the given text file into other languages. [Read more...](docs/translate-file.md) |
|
| [translate-file.ps1](scripts/translate-file.ps1) | Translates the given text file into other languages. [Read more...](docs/translate-file.md) |
|
||||||
| [translate-files.ps1](scripts/translate-files.ps1) | Translates the given text files into any supported language. [Read more...](docs/translate-files.md) |
|
| [translate-files.ps1](scripts/translate-files.ps1) | Translates the given text files into any supported language. [Read more...](docs/translate-files.md) |
|
||||||
| [translate-text.ps1](scripts/translate-text.ps1) | Translates the given text in English into other languages. [Read more...](docs/translate-text.md) |
|
| [translate-text.ps1](scripts/translate-text.ps1) | Translates the given text in English into other languages. [Read more...](docs/translate-text.md) |
|
||||||
| [weather.ps1](scripts/weather.ps1) | Prints the current weather forecast. [Read more...](docs/weather.md) |
|
| [weather.ps1](scripts/weather.ps1) | Prints the current weather forecast. [Read more...](docs/weather.md) |
|
||||||
| [weather-report.ps1](scripts/weather-report.ps1) | Prints the local weather report. [Read more...](docs/weather-report.md) |
|
| [weather-report.ps1](scripts/weather-report.ps1) | Prints the local weather report. [Read more...](docs/weather-report.md) |
|
||||||
| [what-is.ps1](scripts/what-is.ps1) | Prints a description of the given abbreviation. [Read more...](docs/what-is.md) |
|
| [what-is.ps1](scripts/what-is.ps1) | Prints a description of the given abbreviation. [Read more...](docs/what-is.md) |
|
||||||
| [write-animated.ps1](scripts/write-animated.ps1) | Writes animated text. [Read more...](docs/write-animated.md) |
|
| [write-animated.ps1](scripts/write-animated.ps1) | Writes animated text. [Read more...](docs/write-animated.md) |
|
||||||
| [write-big.ps1](scripts/write-big.ps1) | Writes the given text in big letters. [Read more...](docs/write-big.md) |
|
| [write-big.ps1](scripts/write-big.ps1) | Writes the given text in big letters. [Read more...](docs/write-big.md) |
|
||||||
| [write-blue.ps1](scripts/write-blue.ps1) | Writes the given text in a blue foreground color. [Read more...](docs/write-blue.md) |
|
| [write-blue.ps1](scripts/write-blue.ps1) | Writes the given text in a blue foreground color. [Read more...](docs/write-blue.md) |
|
||||||
| [write-braille.ps1](scripts/write-braille.ps1) | Writes the given text in Braille. [Read more...](docs/write-braille.md) |
|
| [write-braille.ps1](scripts/write-braille.ps1) | Writes the given text in Braille. [Read more...](docs/write-braille.md) |
|
||||||
| [write-calendar.ps1](scripts/write-calendar.ps1) | Writes the calendar (month of year). [Read more...](docs/write-calendar.md) |
|
| [write-calendar.ps1](scripts/write-calendar.ps1) | Writes the calendar (month of year). [Read more...](docs/write-calendar.md) |
|
||||||
| [write-green.ps1](scripts/write-green.ps1) | Writes the given text in a green foreground color. [Read more...](docs/write-green.md) |
|
| [write-green.ps1](scripts/write-green.ps1) | Writes the given text in a green foreground color. [Read more...](docs/write-green.md) |
|
||||||
| [write-joke.ps1](scripts/write-joke.ps1) | Writes a random Juck Norris joke. [Read more...](docs/write-joke.md) |
|
| [write-joke.ps1](scripts/write-joke.ps1) | Writes a random Juck Norris joke. [Read more...](docs/write-joke.md) |
|
||||||
| [write-lowercase.ps1](scripts/write-lowercase.ps1) | Writes the given text in lowercase letters. [Read more...](docs/write-lowercase.md) |
|
| [write-lowercase.ps1](scripts/write-lowercase.ps1) | Writes the given text in lowercase letters. [Read more...](docs/write-lowercase.md) |
|
||||||
| [write-marquee.ps1](scripts/write-marquee.ps1) | Writes the given text as marquee. [Read more...](docs/write-marquee.md) |
|
| [write-marquee.ps1](scripts/write-marquee.ps1) | Writes the given text as marquee. [Read more...](docs/write-marquee.md) |
|
||||||
| [write-morse-code.ps1](scripts/write-morse-code.ps1) | Writes the given text in Morse code. [Read more...](docs/write-morse-code.md) |
|
| [write-morse-code.ps1](scripts/write-morse-code.ps1) | Writes the given text in Morse code. [Read more...](docs/write-morse-code.md) |
|
||||||
| [write-motd.ps1](scripts/write-motd.ps1) | Writes the message of the day (MOTD). [Read more...](docs/write-motd.md) |
|
| [write-motd.ps1](scripts/write-motd.ps1) | Writes the message of the day (MOTD). [Read more...](docs/write-motd.md) |
|
||||||
| [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) |
|
| [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) |
|
||||||
| [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) |
|
| [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) |
|
||||||
| [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) |
|
| [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) |
|
||||||
| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [Read more...](docs/write-typewriter.md) |
|
| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [More »](docs/write-typewriter.md) |
|
||||||
| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [Read more...](docs/write-uppercase.md) |
|
| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [More »](docs/write-uppercase.md) |
|
||||||
| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [Read more...](docs/write-vertical.md) |
|
| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [More »](docs/write-vertical.md) |
|
||||||
|
| [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [More »](docs/show-notification-motivation-quote.md) |
|
||||||
|
|
||||||
📧 Feedback
|
📧 Feedback
|
||||||
------------
|
------------
|
||||||
|
18
data/Jenkinsfile
vendored
18
data/Jenkinsfile
vendored
@ -1,18 +0,0 @@
|
|||||||
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'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -4,11 +4,11 @@ APPLICATION, CATEGORY, APPID,
|
|||||||
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM",
|
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM",
|
||||||
"CMake", "build utility", "Kitware.CMake",
|
"CMake", "build utility", "Kitware.CMake",
|
||||||
"Dopamine", "audio player", "Digimezzo.Dopamine.2",
|
"Dopamine", "audio player", "Digimezzo.Dopamine.2",
|
||||||
"Dropbox", "file sync", "Dropbox.Dropbox",
|
"Dropbox", "file sync", "9NK4T08DHQ80",
|
||||||
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions",
|
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions",
|
||||||
"Git for Windows", "source code management", "Git.Git",
|
"Git for Windows", "source code management", "Git.Git",
|
||||||
"Google Chrome", "web browser", "Google.Chrome",
|
"Google Chrome", "web browser", "Google.Chrome",
|
||||||
"Greenshot", "screenshot utility", "Greenshot.Greenshot",
|
"Greenshot", "screenshot utility", "9N8Z6RQX8LV8",
|
||||||
"grepWin", "search tool", "StefansTools.grepWin",
|
"grepWin", "search tool", "StefansTools.grepWin",
|
||||||
"inSSIDer", "Wifi tool", "MetaGeek.inSSIDer",
|
"inSSIDer", "Wifi tool", "MetaGeek.inSSIDer",
|
||||||
"IrfanView", "image viewer", "9PJZ3BTL5PV6",
|
"IrfanView", "image viewer", "9PJZ3BTL5PV6",
|
||||||
@ -18,7 +18,7 @@ APPLICATION, CATEGORY, APPID,
|
|||||||
"LibreOffice", "office suite", "TheDocumentFoundation.LibreOffice",
|
"LibreOffice", "office suite", "TheDocumentFoundation.LibreOffice",
|
||||||
"Microsoft Teams", "messenger", "XP8BT8DW290MPQ",
|
"Microsoft Teams", "messenger", "XP8BT8DW290MPQ",
|
||||||
"Mozilla Firefox", "web browser", "9NZVDKPMR9RD",
|
"Mozilla Firefox", "web browser", "9NZVDKPMR9RD",
|
||||||
"Mozilla Thunderbird", "email client", "Mozilla.Thunderbird",
|
"Mozilla Thunderbird", "email client", "9PM5VM1S3VMQ",
|
||||||
"Mp3tag", "MP3 tag editor", "9NN77TCQ1NC8",
|
"Mp3tag", "MP3 tag editor", "9NN77TCQ1NC8",
|
||||||
"Nearby Share", "file sync", "Google.NearbyShare",
|
"Nearby Share", "file sync", "Google.NearbyShare",
|
||||||
"Netflix", "video player", "9WZDNCRFJ3TJ",
|
"Netflix", "video player", "9WZDNCRFJ3TJ",
|
||||||
@ -36,4 +36,4 @@ APPLICATION, CATEGORY, APPID,
|
|||||||
"VLC", "video player", "XPDM1ZW6815MQM",
|
"VLC", "video player", "XPDM1ZW6815MQM",
|
||||||
"Windows Terminal", "console terminal", "9N0DX20HK701",
|
"Windows Terminal", "console terminal", "9N0DX20HK701",
|
||||||
"WhatsApp", "messenger", "9NKSQGP7F2NH",
|
"WhatsApp", "messenger", "9NKSQGP7F2NH",
|
||||||
"Zoom", "video conference software", "Zoom.Zoom",
|
"Zoom Workplace", "video conference software", "XP99J3KP4XZ4VV",
|
||||||
|
|
7
data/checklists/handwashing.md
Normal file
7
data/checklists/handwashing.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
The Handwashing Checklist
|
||||||
|
=========================
|
||||||
|
- [ ] Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap.
|
||||||
|
- [ ] Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails.
|
||||||
|
- [ ] Scrub your hands for at least 20 seconds.
|
||||||
|
- [ ] Rinse your hands well under clean, running water.
|
||||||
|
- [ ] Dry your hands using a clean towel or air dry them.
|
@ -1,6 +0,0 @@
|
|||||||
HEAD Handwashing
|
|
||||||
Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap.
|
|
||||||
Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails.
|
|
||||||
Scrub your hands for at least 20 seconds.
|
|
||||||
Rinse your hands well under clean, running water.
|
|
||||||
Dry your hands using a clean towel or air dry them.
|
|
81
data/checklists/travel_packing.md
Normal file
81
data/checklists/travel_packing.md
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# The Travel Packing Checklist
|
||||||
|
|
||||||
|
## At first the absolute necessities:
|
||||||
|
|
||||||
|
- [ ] Passport: Your gateway to international travel.
|
||||||
|
|
||||||
|
- [ ] Wallet: For your cash, cards, and identification.
|
||||||
|
- [ ] Cash: Have some local currency on hand for immediate expenses.
|
||||||
|
- [ ] Credit/Debit Cards: For larger transactions and emergencies.
|
||||||
|
- [ ] Phone: Your communication lifeline and entertainment hub.
|
||||||
|
- [ ] Phone Charger: Don't let your battery die on you.
|
||||||
|
- [ ] Travel Itinerary: Keep your schedule organized.
|
||||||
|
- [ ] Sunglasses: Protect your eyes and look stylish.
|
||||||
|
- [ ] Keys: For your home, car, or luggage locks.
|
||||||
|
- [ ] Clothing: Dress for Success and Comfort
|
||||||
|
|
||||||
|
## Pack a versatile wardrobe for any occasion:
|
||||||
|
|
||||||
|
- [ ] Tops: T-shirts for casual days, dress shirts for formal events, and sweaters/jackets for warmth.
|
||||||
|
|
||||||
|
- [ ] Bottoms: Jeans for everyday wear, trousers for dressier occasions, and shorts for warmer climates.
|
||||||
|
- [ ] Swimwear: If you're headed to the beach or pool.
|
||||||
|
- [ ] Undergarments: Don't forget your underwear and socks!
|
||||||
|
- [ ] Footwear: Casual shoes, formal shoes, sandals, and running shoes for various activities.
|
||||||
|
- [ ] Accessories: The Finishing Touches
|
||||||
|
|
||||||
|
## Complete your look with these essentials:
|
||||||
|
|
||||||
|
- [ ] Belt: To hold up your pants and add a touch of style.
|
||||||
|
|
||||||
|
- [ ] Watch: To keep track of time and accessorize.
|
||||||
|
- [ ] Hat/Cap: For sun protection or a fashion statement.
|
||||||
|
- [ ] Tie: If you have formal events planned.
|
||||||
|
- [ ] Cufflinks: For a sophisticated touch with dress shirts.
|
||||||
|
- [ ] Toiletries: Stay Fresh and Clean
|
||||||
|
|
||||||
|
## Maintain your personal hygiene on the go:
|
||||||
|
|
||||||
|
- [ ] Toothbrush/Toothpaste: For a bright smile.
|
||||||
|
|
||||||
|
- [ ] Deodorant: Stay smelling fresh.
|
||||||
|
- [ ] Shampoo/Conditioner: Keep your hair clean and healthy.
|
||||||
|
- [ ] Soap: For a refreshing shower or bath.
|
||||||
|
- [ ] Shaving Kit: If you prefer a clean-shaven look.
|
||||||
|
- [ ] Nail Clipper: For grooming on the go.
|
||||||
|
- [ ] Health and Wellness: Stay Prepared
|
||||||
|
|
||||||
|
Prioritize your well-being with these essentials:
|
||||||
|
|
||||||
|
- [ ] Prescription Medications: Don't forget any vital prescriptions.
|
||||||
|
|
||||||
|
- [ ] Pain Relievers: For unexpected headaches or aches.
|
||||||
|
- [ ] Vitamins/Supplements: Maintain your health on the road.
|
||||||
|
- [ ] First Aid Kit: For minor cuts, scrapes, or injuries.
|
||||||
|
- [ ] Tech Gadgets: Stay Connected and Entertained
|
||||||
|
|
||||||
|
Bring along your tech essentials:
|
||||||
|
|
||||||
|
- [ ] Laptop/Charger: For work or entertainment.
|
||||||
|
|
||||||
|
- [ ] Tablet/Charger: For reading, browsing, or watching videos.
|
||||||
|
- [ ] Earphones/Headphones: For music, podcasts, or privacy.
|
||||||
|
- [ ] Power Bank: Keep your devices charged on the go.
|
||||||
|
- [ ] Documents: Important Paperwork
|
||||||
|
|
||||||
|
Ensure you have all necessary documents:
|
||||||
|
|
||||||
|
- [ ] Travel Insurance: For peace of mind in case of unforeseen events.
|
||||||
|
|
||||||
|
- [ ] Tickets (Flight/Train/Bus): Don't forget your travel documents.
|
||||||
|
- [ ] Hotel Reservations: Keep your accommodation details handy.
|
||||||
|
- [ ] Emergency Contacts: In case you need to reach out to someone.
|
||||||
|
- [ ] Miscellaneous: The Extras
|
||||||
|
|
||||||
|
These items can enhance your travel experience:
|
||||||
|
|
||||||
|
- [ ] Books/Magazines: For entertainment during downtime.
|
||||||
|
- [ ] Snacks: Keep your hunger at bay between meals.
|
||||||
|
- [ ] Reusable Water Bottle: Stay hydrated and reduce waste.
|
||||||
|
- [ ] Travel Pillow: For comfort during long journeys.
|
||||||
|
- [ ] Umbrella: Be prepared for unexpected rain.
|
File diff suppressed because it is too large
Load Diff
@ -241,8 +241,8 @@ LPO,"La Silla Paranal Observatory"
|
|||||||
LSM,Local Staff Members
|
LSM,Local Staff Members
|
||||||
LSP,"La Silla Paranal Subcommittee"
|
LSP,"La Silla Paranal Subcommittee"
|
||||||
LTAO,Laser Tomography Adaptive Optics
|
LTAO,Laser Tomography Adaptive Optics
|
||||||
|
LTC,Coordinated Lunar Time
|
||||||
LVSM,Large Visible Sensor Module
|
LVSM,Large Visible Sensor Module
|
||||||
M#,"Mirror #"
|
|
||||||
M,"million/1,000,000"
|
M,"million/1,000,000"
|
||||||
MACAO,Multiple Application Curvature Adaptive Optic
|
MACAO,Multiple Application Curvature Adaptive Optic
|
||||||
MACCON,Motion controller manufacturer
|
MACCON,Motion controller manufacturer
|
||||||
@ -275,6 +275,7 @@ MPG,Max-Planck-Gesellschaft
|
|||||||
MPIA,Max Planck Institute for Astronomy
|
MPIA,Max Planck Institute for Astronomy
|
||||||
MPIfR,Max-Planck Institute for Radioastronomy (Germany)
|
MPIfR,Max-Planck Institute for Radioastronomy (Germany)
|
||||||
MS,Member State(s)
|
MS,Member State(s)
|
||||||
|
MTC,Coordinated Mars Time
|
||||||
MTM,"MT Mechatronics (European company of high technology, engineering and maintenance services)"
|
MTM,"MT Mechatronics (European company of high technology, engineering and maintenance services)"
|
||||||
MUSE,Multi Unit Spectroscopic Explorer (VLT)
|
MUSE,Multi Unit Spectroscopic Explorer (VLT)
|
||||||
NACO,NAOS-CONICA (VLT)
|
NACO,NAOS-CONICA (VLT)
|
||||||
@ -296,6 +297,7 @@ NINS,National Institutes of Natural Sciences
|
|||||||
NIRPS,(NNT) Near Infra Red Planet Searcher
|
NIRPS,(NNT) Near Infra Red Planet Searcher
|
||||||
NOVA,The Netherlands Research School for Astronomy (Nederlandse Onderzoekschool voor Astronomie)
|
NOVA,The Netherlands Research School for Astronomy (Nederlandse Onderzoekschool voor Astronomie)
|
||||||
NRAO,National Radio Astronomy Observatory
|
NRAO,National Radio Astronomy Observatory
|
||||||
|
NRQZ,(U.S.) National Radio Quiet Zone
|
||||||
NSF,National Science Foundation
|
NSF,National Science Foundation
|
||||||
NTT,New Technology Telescope
|
NTT,New Technology Telescope
|
||||||
NUVA,Network for UltraViolet Astrophysics
|
NUVA,Network for UltraViolet Astrophysics
|
||||||
@ -388,6 +390,7 @@ SSWG,Science Strategy Working Group
|
|||||||
SSS,Surrey Space Centre
|
SSS,Surrey Space Centre
|
||||||
ST-ECF,Space Telescope European Coordination Facility
|
ST-ECF,Space Telescope European Coordination Facility
|
||||||
STC,Scientific Technical Committee
|
STC,Scientific Technical Committee
|
||||||
|
STEVE,Strong Thermal Emission Velocity Enhancement (an atmospheric optical phenomenon)
|
||||||
STFC,Science and Technology Facilities Council (UK)
|
STFC,Science and Technology Facilities Council (UK)
|
||||||
STRAP,Tip-tilt sensors (VLTI)
|
STRAP,Tip-tilt sensors (VLTI)
|
||||||
STScI,Space Telescope Science Institute (USA)
|
STScI,Space Telescope Science Institute (USA)
|
||||||
|
|
@ -1,5 +1,7 @@
|
|||||||
TERM,MEANING
|
TERM,MEANING
|
||||||
3P,"Perceive, Process, Perform"
|
3P,"Perceive, Process, Perform"
|
||||||
|
5ANNC,Five Letter Alpha Numeric Code
|
||||||
|
5LNC,Five Letter Naming Code
|
||||||
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
||||||
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
||||||
7600,"Transponder code for Radio failure (lost communications, ICAO)"
|
7600,"Transponder code for Radio failure (lost communications, ICAO)"
|
||||||
@ -41,7 +43,7 @@ ACARS,Aircraft Communications Addressing and Reporting System
|
|||||||
ACAS,Airborne Collision Avoidance System
|
ACAS,Airborne Collision Avoidance System
|
||||||
ACC,Area Control Center
|
ACC,Area Control Center
|
||||||
ACE,Airport airside Capacity Enhancement
|
ACE,Airport airside Capacity Enhancement
|
||||||
ACI,Airports Council International
|
ACI,"Airports Council International, Area of Common Interest"
|
||||||
ACP,Accept
|
ACP,Accept
|
||||||
AD,Air Defence
|
AD,Air Defence
|
||||||
ADAC,Abu Dhabi Airports
|
ADAC,Abu Dhabi Airports
|
||||||
@ -122,12 +124,12 @@ AOCC,Atlantic Operations Control Center
|
|||||||
AODR,Authorizing Official Designated Representative
|
AODR,Authorizing Official Designated Representative
|
||||||
AOM,Airplane Operating Manual
|
AOM,Airplane Operating Manual
|
||||||
AOPA,Aircraft Owners and Pilots Association
|
AOPA,Aircraft Owners and Pilots Association
|
||||||
AOR,Area of Responsibility
|
AoR,Area of Responsibility
|
||||||
AP,Acquisition Plan
|
AP,Acquisition Plan
|
||||||
APB,Acquisition Program Baselines
|
APB,Acquisition Program Baselines
|
||||||
APIS,Aircraft Parking and Information System
|
APIS,Aircraft Parking and Information System
|
||||||
APM,Approach Path Monitor
|
APM,Approach Path Monitor
|
||||||
APP,Approach
|
APP,"Approach Area, Approach ATS Unit"
|
||||||
APS,Airport Planning Standard
|
APS,Airport Planning Standard
|
||||||
APTS,Automated Personnel Tracking System
|
APTS,Automated Personnel Tracking System
|
||||||
APU,Auxiliary Power Unit
|
APU,Auxiliary Power Unit
|
||||||
@ -137,6 +139,7 @@ AR,Aspect Ratio
|
|||||||
ARAC,Army Radar Approach Control (AAF)
|
ARAC,Army Radar Approach Control (AAF)
|
||||||
ARFOR,Area Forecast
|
ARFOR,Area Forecast
|
||||||
ARINC,Aeronautical Radio, Inc. (USA)
|
ARINC,Aeronautical Radio, Inc. (USA)
|
||||||
|
ARNS,Aeronautical Radio Navigation Service
|
||||||
ARLNO,Airline Office
|
ARLNO,Airline Office
|
||||||
ARP,Airport Reference Point
|
ARP,Airport Reference Point
|
||||||
ARTCC,Air Route Traffic Control Centre
|
ARTCC,Air Route Traffic Control Centre
|
||||||
@ -156,6 +159,8 @@ ATIS,Automatic Terminal Information Service
|
|||||||
ATM,"Air Traffic Management, Air Traffic Manager"
|
ATM,"Air Traffic Management, Air Traffic Manager"
|
||||||
ATO,Air Traffic Organization
|
ATO,Air Traffic Organization
|
||||||
ATPL,Airline Transport Pilot License
|
ATPL,Airline Transport Pilot License
|
||||||
|
ATS,Air Traffic Services
|
||||||
|
ATZ,Air Traffic Zone
|
||||||
AURO,Autorotation (by helicopters)
|
AURO,Autorotation (by helicopters)
|
||||||
AWACS,Airborne Warning And Control System
|
AWACS,Airborne Warning And Control System
|
||||||
BC,Back Course
|
BC,Back Course
|
||||||
@ -184,6 +189,7 @@ CAT,"Category of Aircraft, Clear Air Turbulence"
|
|||||||
CATC,Civil Air Traffic Control
|
CATC,Civil Air Traffic Control
|
||||||
CAVOK,Clouds And Visibility OK
|
CAVOK,Clouds And Visibility OK
|
||||||
C/S,Callsign
|
C/S,Callsign
|
||||||
|
CBA,Cross-Border Area
|
||||||
CBT,Computer-based Training
|
CBT,Computer-based Training
|
||||||
CC,Commander
|
CC,Commander
|
||||||
CCBC,Community College Baltimore County
|
CCBC,Community College Baltimore County
|
||||||
@ -192,6 +198,7 @@ CCTLR,Chief Controller
|
|||||||
CDA,Continuous Descent Approach
|
CDA,Continuous Descent Approach
|
||||||
CDI,Course Deviation Indicator
|
CDI,Course Deviation Indicator
|
||||||
CDM,Collaborative Decision Making
|
CDM,Collaborative Decision Making
|
||||||
|
CDR,Conditional Route
|
||||||
CDTI,Cockpit Display of Traffic Information
|
CDTI,Cockpit Display of Traffic Information
|
||||||
CDU,Cockpit Display Unit
|
CDU,Cockpit Display Unit
|
||||||
CEATS,Central European Air Traffic Services
|
CEATS,Central European Air Traffic Services
|
||||||
@ -220,10 +227,11 @@ CPL,Commercial Pilot License
|
|||||||
CRC,Control and Reporting Centre
|
CRC,Control and Reporting Centre
|
||||||
CRDA,Converging Runway Display Aid
|
CRDA,Converging Runway Display Aid
|
||||||
CREDOS,Crosswind Reduced Separations for Departure Operations
|
CREDOS,Crosswind Reduced Separations for Departure Operations
|
||||||
CTA,"Controlled Area, Controlled Time of Arrival"
|
CTA,"Control Area, Controlled Time of Arrival"
|
||||||
CTAF,Common Traffic Advisory Frequency
|
CTAF,Common Traffic Advisory Frequency
|
||||||
CTOT,Calculated Take-Off Time
|
CTOT,Calculated Take-Off Time
|
||||||
CTR,Control Zone or Controlled Traffic Region
|
CTR,Control Zone or Controlled Traffic Region
|
||||||
|
CTZ,Control Zone
|
||||||
CV,Vice Commander
|
CV,Vice Commander
|
||||||
CVFR,Controlled Visual Flight Rule (flight)
|
CVFR,Controlled Visual Flight Rule (flight)
|
||||||
CVSM,Conventional Vertical Separation Minimum
|
CVSM,Conventional Vertical Separation Minimum
|
||||||
@ -238,9 +246,11 @@ DCIA,Dependent Converging Instrument Approach
|
|||||||
DECIDE,"Detect, Estimate, Choose, Identify, Do, and Evaluate"
|
DECIDE,"Detect, Estimate, Choose, Identify, Do, and Evaluate"
|
||||||
DEL,Delivery
|
DEL,Delivery
|
||||||
DER,Departure End of Runway
|
DER,Departure End of Runway
|
||||||
|
DFL,Division Flight Level
|
||||||
DFS,Deutsche Flugsicherung (ATC in Germany)
|
DFS,Deutsche Flugsicherung (ATC in Germany)
|
||||||
DGAC,Direction Générale de l'Aviation Civile
|
DGAC,Direction Générale de l'Aviation Civile
|
||||||
DLA,Defense Logistics Agency
|
DLA,Defense Logistics Agency
|
||||||
|
DME,Distance Measuring Equipment
|
||||||
DP,Departure Procedure
|
DP,Departure Procedure
|
||||||
DSNA,Direction des Services de la Navigation Aérienne
|
DSNA,Direction des Services de la Navigation Aérienne
|
||||||
DTI,Direction Technique Innovation
|
DTI,Direction Technique Innovation
|
||||||
@ -252,14 +262,18 @@ ECAC,European Civil Aviation Conference
|
|||||||
eCTOL,Electric Conventional Take-off and Landing
|
eCTOL,Electric Conventional Take-off and Landing
|
||||||
ECP,Entry Control Point
|
ECP,Entry Control Point
|
||||||
EFM,Gesellschaft für Enteisen und Flugzeugschleppen
|
EFM,Gesellschaft für Enteisen und Flugzeugschleppen
|
||||||
|
EFPS,Electronic Flight Progress Strips
|
||||||
EICAS,Engine Instrument Crew Alerting System
|
EICAS,Engine Instrument Crew Alerting System
|
||||||
ELEV,Field Elevation
|
ELEV,Field Elevation
|
||||||
ELT,Emergency Locator Transmitter
|
ELT,Emergency Locator Transmitter
|
||||||
|
ENR,En-Route
|
||||||
EOL,Engine-off landing
|
EOL,Engine-off landing
|
||||||
|
ERAU,Embry-Riddle Aeronautical University (Daytona Beach, Florida)
|
||||||
ERPM,Engine Rotations per Minute
|
ERPM,Engine Rotations per Minute
|
||||||
eSTOL,Electric Short Take-off and Landing
|
eSTOL,Electric Short Take-off and Landing
|
||||||
ETA,"Estimated Time of Arrival, East Transition Area"
|
ETA,"Estimated Time of Arrival, East Transition Area"
|
||||||
ETL,Effective Translational Lift (for helicopters)
|
ETL,Effective Translational Lift (for helicopters)
|
||||||
|
ETO,Estimated Time Over Significant Point
|
||||||
ETOPS,Extended-range Twin-engine Operational Performance Standards
|
ETOPS,Extended-range Twin-engine Operational Performance Standards
|
||||||
ETVS,Electronic Terminal Voice Switch
|
ETVS,Electronic Terminal Voice Switch
|
||||||
eVTOL,Electric Vertical Take-off and Landing
|
eVTOL,Electric Vertical Take-off and Landing
|
||||||
@ -267,6 +281,7 @@ FAA,U.S. Federal Aviation Administration
|
|||||||
FAR,"Fuel Air Ratio, Federal Aviation Regulations"
|
FAR,"Fuel Air Ratio, Federal Aviation Regulations"
|
||||||
FAS,Final Approach Segment
|
FAS,Final Approach Segment
|
||||||
FAS,Final Approach Speed
|
FAS,Final Approach Speed
|
||||||
|
FASF,French Air and Space Force
|
||||||
FAST,Future Aviation Safety Team
|
FAST,Future Aviation Safety Team
|
||||||
FAT,Factory Acceptance Test (see also SAT and RAT)
|
FAT,Factory Acceptance Test (see also SAT and RAT)
|
||||||
FAT,Final Approach Track
|
FAT,Final Approach Track
|
||||||
@ -298,6 +313,7 @@ FOD,Foreign Object Debris
|
|||||||
FOV,Field of View
|
FOV,Field of View
|
||||||
FWC,Flight Warning Computer
|
FWC,Flight Warning Computer
|
||||||
GA,"General Aviation, Go Around (VFR)"
|
GA,"General Aviation, Go Around (VFR)"
|
||||||
|
GAF,German Air Force
|
||||||
GND,Ground
|
GND,Ground
|
||||||
GP,Glide Path
|
GP,Glide Path
|
||||||
GPS,Global Positioning System
|
GPS,Global Positioning System
|
||||||
@ -312,6 +328,7 @@ IANS,Institute of Air Navigation Services, a division of Eurocontrol
|
|||||||
IAS,Indicated airspeed
|
IAS,Indicated airspeed
|
||||||
IATA,"International Air Transport Association, HQ in Montreal, Canada"
|
IATA,"International Air Transport Association, HQ in Montreal, Canada"
|
||||||
ICA,Initial Climb Area
|
ICA,Initial Climb Area
|
||||||
|
ICARD,International Codes and Route Designators
|
||||||
IFE,In-flight Emergency
|
IFE,In-flight Emergency
|
||||||
IFR,Instrument Flight Rules
|
IFR,Instrument Flight Rules
|
||||||
IG,Image Generator
|
IG,Image Generator
|
||||||
@ -320,6 +337,7 @@ IGLR,Integrated Ground Lighting and Radar
|
|||||||
ILS,Instrument Landing System
|
ILS,Instrument Landing System
|
||||||
ISA,International Standard Atmosphere
|
ISA,International Standard Atmosphere
|
||||||
IMC,Instrument Meteorological Conditions
|
IMC,Instrument Meteorological Conditions
|
||||||
|
JATO,Jet Assisted Take Off
|
||||||
JTAC,Joint Terminal Attack Control
|
JTAC,Joint Terminal Attack Control
|
||||||
KAT,Kaufbeuren ATM Training (DFS subcompany)
|
KAT,Kaufbeuren ATM Training (DFS subcompany)
|
||||||
KCAS,Calibrated AirSpeed in Knots
|
KCAS,Calibrated AirSpeed in Knots
|
||||||
@ -347,6 +365,7 @@ MCP,Maximum Continuous Power
|
|||||||
MGTOW,Maximum Gross Take-off Weight
|
MGTOW,Maximum Gross Take-off Weight
|
||||||
MLW,Maximum Landing Weight
|
MLW,Maximum Landing Weight
|
||||||
MMR,Multi-Mode Receiver
|
MMR,Multi-Mode Receiver
|
||||||
|
MRTT,Multi-Role Tanker Transport
|
||||||
MSA,Minimum Safe Altitude
|
MSA,Minimum Safe Altitude
|
||||||
MSL,Median Sea Level
|
MSL,Median Sea Level
|
||||||
MSTA,Minimum Safe Turning Altitude
|
MSTA,Minimum Safe Turning Altitude
|
||||||
@ -356,23 +375,29 @@ NATOPS,Naval Aviation Training and Operating Procedures Standardization
|
|||||||
NATS,National Air Traffic Services (UK)
|
NATS,National Air Traffic Services (UK)
|
||||||
NAVAIDS,Navigational Aids
|
NAVAIDS,Navigational Aids
|
||||||
NCOIC,Non-Commissioned Officer in Charge
|
NCOIC,Non-Commissioned Officer in Charge
|
||||||
|
NDB,Non-Directional Beacon
|
||||||
NIMA,National Imagery Mapping Agency
|
NIMA,National Imagery Mapping Agency
|
||||||
NLFS,Night Low Flying System
|
NLFS,Night Low Flying System
|
||||||
NM,Nautical Mile
|
NM,Nautical Mile
|
||||||
NORDO,No Radio
|
NORDO,No Radio
|
||||||
NOTAM,Notice to Airmen or Notice to Air Missions
|
NOTAM,Notice to Airmen or Notice to Air Missions
|
||||||
|
NRS,Navigation Reference System
|
||||||
NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization)
|
NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization)
|
||||||
OCS,Obstacle Clearance Surfaces
|
OCS,Obstacle Clearance Surfaces
|
||||||
OCTA,Outside Control Areas
|
OCTA,Outside Control Areas
|
||||||
OEI,One Engine Inoperative
|
OEI,One Engine Inoperative
|
||||||
ODP,Obstacle Departure Procedure
|
ODP,Obstacle Departure Procedure
|
||||||
OGE,Out of Ground Effect
|
OGE,Out of Ground Effect
|
||||||
|
OID,Operational Instrument Departure
|
||||||
OFZ,Obstacle Free Zone
|
OFZ,Obstacle Free Zone
|
||||||
OJT,On the Job Training
|
OJT,On the Job Training
|
||||||
OODA,"Observation, Orientation, Decision, and Action"
|
OODA,"Observation, Orientation, Decision, and Action"
|
||||||
|
ORCAM,Originating Region Code Assignment Method
|
||||||
OSC,On Scene Commander
|
OSC,On Scene Commander
|
||||||
|
OWE,Operational Weight Empty
|
||||||
PA,Pressure Altitude
|
PA,Pressure Altitude
|
||||||
PADS,Parallax Aircraft Docking System
|
PADS,Parallax Aircraft Docking System
|
||||||
|
PANSA,Polish Air Navigation Services Agency
|
||||||
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
||||||
PAPI,Precision Approach Path Indicator
|
PAPI,Precision Approach Path Indicator
|
||||||
PAR,Precision Approach Radar
|
PAR,Precision Approach Radar
|
||||||
@ -393,6 +418,7 @@ RADNET,Radar Network
|
|||||||
RAIM,Receiver Autonomous Integrity Monitoring (GPS)
|
RAIM,Receiver Autonomous Integrity Monitoring (GPS)
|
||||||
RAPCON,Radar Approach Control
|
RAPCON,Radar Approach Control
|
||||||
RAT,Reliability Acceptance Test (see also FAT and SAT)
|
RAT,Reliability Acceptance Test (see also FAT and SAT)
|
||||||
|
RATO,Rocket Assisted Take Off
|
||||||
RAM,Royal Air Maroc
|
RAM,Royal Air Maroc
|
||||||
RAP,Recognised Air Picture
|
RAP,Recognised Air Picture
|
||||||
RASP,Recognised Air and Surveillance Picture
|
RASP,Recognised Air and Surveillance Picture
|
||||||
@ -419,15 +445,19 @@ RNAV,Area Navigation
|
|||||||
RNP,Required Navigation Performance
|
RNP,Required Navigation Performance
|
||||||
ROC,Rate Of Climb
|
ROC,Rate Of Climb
|
||||||
ROC,Required Obstacle Clearance
|
ROC,Required Obstacle Clearance
|
||||||
|
ROKAF,Republic of Korea Air Force
|
||||||
RPS,Radar Position Symbol
|
RPS,Radar Position Symbol
|
||||||
RRPM,Rotor Rotations per Minute
|
RRPM,Rotor Rotations per Minute
|
||||||
RSA,Runway Safety Area
|
RSA,Runway Safety Area
|
||||||
RSAF,Republic of Singapore Air Force
|
RSAF,"Republic of Singapore Air Force, Royal Saudi Air Force"
|
||||||
RSC,Runway Surface Condition
|
RSC,Runway Surface Condition
|
||||||
RSI,Remote Status Indicator
|
RSI,Remote Status Indicator
|
||||||
RSO,Range Safety Officer
|
RSO,Range Safety Officer
|
||||||
RSRS,Reduced Same Runway Separation
|
RSRS,Reduced Same Runway Separation
|
||||||
|
RSU,Runway Supervisory Unit
|
||||||
|
RTAF,Royal Thai Air Force
|
||||||
RTCA,Radio Technical Commission for Aeronautics
|
RTCA,Radio Technical Commission for Aeronautics
|
||||||
|
RTF,Radio Telephony
|
||||||
RVR,Runway Visual Range
|
RVR,Runway Visual Range
|
||||||
RVSM,Reduced Vertical Separation Minimum
|
RVSM,Reduced Vertical Separation Minimum
|
||||||
RWR,Radar Warning Receiver
|
RWR,Radar Warning Receiver
|
||||||
@ -436,6 +466,7 @@ SADL,Situational Awareness Data Link
|
|||||||
SAF,Sustainable Aviation Fuel
|
SAF,Sustainable Aviation Fuel
|
||||||
SAR,"Search and Rescue, Synthetic Aperture Radar"
|
SAR,"Search and Rescue, Synthetic Aperture Radar"
|
||||||
SARPS,Standards and Recommended Practices (ICAO)
|
SARPS,Standards and Recommended Practices (ICAO)
|
||||||
|
SASF,Spanish Air and Space Force
|
||||||
SAT,Site Acceptance Test (see also FAT and RAT)
|
SAT,Site Acceptance Test (see also FAT and RAT)
|
||||||
SATCO,Senior Air Traffic Control Officer
|
SATCO,Senior Air Traffic Control Officer
|
||||||
SATCOM,Satellite Communication
|
SATCOM,Satellite Communication
|
||||||
@ -448,6 +479,7 @@ SELCAL,Selective Calling System
|
|||||||
SES,Single European Sky
|
SES,Single European Sky
|
||||||
SESAME,Single European Sky ATM Master Plan
|
SESAME,Single European Sky ATM Master Plan
|
||||||
SESAR,Single European Sky ATM Research
|
SESAR,Single European Sky ATM Research
|
||||||
|
SFC,Surface
|
||||||
SFL,Sequencing Flashing Light
|
SFL,Sequencing Flashing Light
|
||||||
SFO,Simulated Flameout Operation
|
SFO,Simulated Flameout Operation
|
||||||
SI,Selective Interrogation
|
SI,Selective Interrogation
|
||||||
@ -527,14 +559,17 @@ TOP,Take-Off Power
|
|||||||
TOR,"Terms of Reference, or Tornado aircraft"
|
TOR,"Terms of Reference, or Tornado aircraft"
|
||||||
TORA,Takeoff Run Available
|
TORA,Takeoff Run Available
|
||||||
TOWSIM,Tower Simulator
|
TOWSIM,Tower Simulator
|
||||||
|
TRA,Temporary Reserved Area
|
||||||
TRACON,Terminal Radar Approach Control
|
TRACON,Terminal Radar Approach Control
|
||||||
TRH,Thrust Reduction Height
|
TRH,Thrust Reduction Height
|
||||||
|
TSA,Temporary Segregated Area
|
||||||
|
TSAT,Target Startup Approval Time
|
||||||
TSO,Technical Standard Order
|
TSO,Technical Standard Order
|
||||||
TSTC,Texas State Technical College
|
TSTC,Texas State Technical College
|
||||||
TT,True Track
|
TT,True Track
|
||||||
TVOR,Terminal VOR
|
TVOR,Terminal VOR
|
||||||
TWEB,Transcribed Weather Broadcast (USA for ATIS)
|
TWEB,Transcribed Weather Broadcast (USA for ATIS)
|
||||||
TWR,Control Tower or Thrust to Weight Ratio
|
TWR,Aerodrome Control Tower or Thrust to Weight Ratio
|
||||||
TWY,Taxiway
|
TWY,Taxiway
|
||||||
TXC,Taxiway Centreline Lights
|
TXC,Taxiway Centreline Lights
|
||||||
TXE,Taxiway Edge Lights
|
TXE,Taxiway Edge Lights
|
||||||
@ -552,6 +587,7 @@ UHF,Ultra High Frequency (300MHz to 3 GHz)
|
|||||||
UIR,Upper Flight Information Region
|
UIR,Upper Flight Information Region
|
||||||
UKCAA,United Kingdom Civil Aviation Authority
|
UKCAA,United Kingdom Civil Aviation Authority
|
||||||
UMASS,University of Massachusetts
|
UMASS,University of Massachusetts
|
||||||
|
UNL,Unlimited
|
||||||
URET,User Request Evaluation Tool
|
URET,User Request Evaluation Tool
|
||||||
USAF,United States Air Force
|
USAF,United States Air Force
|
||||||
UTA,Upper Traffic Area
|
UTA,Upper Traffic Area
|
||||||
@ -605,3 +641,4 @@ WTC,Wake Turbulence Category
|
|||||||
WTWS,Wake Turbulence Warning System
|
WTWS,Wake Turbulence Warning System
|
||||||
WX,Weather
|
WX,Weather
|
||||||
WXR,Weather Radar Transceiver
|
WXR,Weather Radar Transceiver
|
||||||
|
ZELL,Zero Length Launch
|
||||||
|
Can't render this file because it has a wrong number of fields in line 141.
|
@ -8,8 +8,7 @@ AACC,American Association for Clinical Chemistry
|
|||||||
AADC,Amino Acid DeCarboxylase
|
AADC,Amino Acid DeCarboxylase
|
||||||
AADC,Aromatic L-Amino acid DeCarboxylase
|
AADC,Aromatic L-Amino acid DeCarboxylase
|
||||||
AAS,Atomic Absorption Spectroscopy
|
AAS,Atomic Absorption Spectroscopy
|
||||||
AB,Acid Base
|
AB,"Acid Base, Acid Bath"
|
||||||
AB,Acid Bath
|
|
||||||
ABCC,Advanced Biomedical Computing Center
|
ABCC,Advanced Biomedical Computing Center
|
||||||
ABCC,American Board of Clinical Chemistry
|
ABCC,American Board of Clinical Chemistry
|
||||||
ABS,"Absorb, Acrylonitrile Butadiene Styrene"
|
ABS,"Absorb, Acrylonitrile Butadiene Styrene"
|
||||||
@ -317,17 +316,14 @@ G,Gibbs Free Energy
|
|||||||
G,"Giga prefix (109)"
|
G,"Giga prefix (109)"
|
||||||
G,"Glycine g,gram"
|
G,"Glycine g,gram"
|
||||||
G,Guanosine
|
G,Guanosine
|
||||||
Ga,Gallium
|
Ga,Gallium or Gauge
|
||||||
Ga,Gauge
|
GaF,"Gallium(I)-fluorid"
|
||||||
GABA,Gamma-AminoButyric Acid
|
GABA,Gamma-AminoButyric Acid
|
||||||
GAD,Glutamate Decarboxylase
|
GAD,Glutamate Decarboxylase
|
||||||
GAG,Glycosaminoglycan
|
GAG,Glycosaminoglycan
|
||||||
GBB,Gas Blow Back
|
GBB,Gas Blow Back
|
||||||
GC,Geiger Counter
|
GC,Geiger Counter
|
||||||
GCC,Global Carbon Cycle
|
GCC,"Global Carbon Cycle, Global Climate Change, Glucocorticoid, or: Guanylyl Cyclase C"
|
||||||
GCC,Global Climate Change
|
|
||||||
GCC,Glucocorticoid
|
|
||||||
GCC,Guanylyl Cyclase C
|
|
||||||
GCMS,Gas Chromatographic Mass Spectrometer
|
GCMS,Gas Chromatographic Mass Spectrometer
|
||||||
Gd,Gadolinium
|
Gd,Gadolinium
|
||||||
GDP,Guanosine DiPhosphate
|
GDP,Guanosine DiPhosphate
|
||||||
@ -734,8 +730,7 @@ OV,Organic Vapor
|
|||||||
OVA,Organic Vapor Analyser
|
OVA,Organic Vapor Analyser
|
||||||
OVA,OVAlbumin
|
OVA,OVAlbumin
|
||||||
OWC,Oil-Water Contact
|
OWC,Oil-Water Contact
|
||||||
OX,Oxidation
|
OX,"Oxidation, Oxygen"
|
||||||
OX,oxygen
|
|
||||||
OXA,OXanilic Acid
|
OXA,OXanilic Acid
|
||||||
OXT,OXyTocin
|
OXT,OXyTocin
|
||||||
OXY,Oxygen
|
OXY,Oxygen
|
||||||
@ -743,17 +738,14 @@ p+,Proton
|
|||||||
P,Peta prefix (1015)
|
P,Peta prefix (1015)
|
||||||
P,Phosphorus
|
P,Phosphorus
|
||||||
p,pico prefix (10-12)
|
p,pico prefix (10-12)
|
||||||
P,Pressure
|
P,"Pressure, Proton"
|
||||||
P,Proton
|
|
||||||
Pa,Pascal
|
Pa,Pascal
|
||||||
PA,Phosphatidic Acid
|
PA,Phosphatidic Acid
|
||||||
Pa,Protactinium
|
Pa,Protactinium
|
||||||
PA,Proton Affinity
|
PA,Proton Affinity
|
||||||
PAA,PolyAcrylic Acid
|
PAA,PolyAcrylic Acid
|
||||||
PABA,ParaAminoBenzoic Acid
|
PABA,ParaAminoBenzoic Acid
|
||||||
PAC,Pharmaceutically Active Compound
|
PAC,"Pharmaceutically Active Compound, Polycyclic Aromatic Content, Powdered Activated Carbon"
|
||||||
PAC,Polycyclic Aromatic Content
|
|
||||||
PAC,Powdered Activated Carbon
|
|
||||||
PAEK,PolyArylEtherKetone
|
PAEK,PolyArylEtherKetone
|
||||||
PAGE,PolyAcrylamide Gel Electrophoresis
|
PAGE,PolyAcrylamide Gel Electrophoresis
|
||||||
PAH,Polycyclic Aromatic Hydrocarbon
|
PAH,Polycyclic Aromatic Hydrocarbon
|
||||||
@ -768,19 +760,15 @@ PBI,PolyBenzImidazole
|
|||||||
PBN,PolyButylene Naphthalate
|
PBN,PolyButylene Naphthalate
|
||||||
PBS,Phosphate Buffered Saline
|
PBS,Phosphate Buffered Saline
|
||||||
PBT,PolyButylene Terephthalate
|
PBT,PolyButylene Terephthalate
|
||||||
PC,PolyCarbonate
|
PC,"PolyCarbonate, Pyruvate Carboxylase"
|
||||||
PC,Pyruvate Carboxylase
|
|
||||||
PCA,Pyrrolidone Carboxylic Acid
|
PCA,Pyrrolidone Carboxylic Acid
|
||||||
PCC,Pyridine Chloro Chromate
|
PCC,Pyridine Chloro Chromate
|
||||||
PCE,Tetrachloroethylene
|
PCE,Tetrachloroethylene
|
||||||
PCR,Polymerase Chain Reaction
|
PCR,Polymerase Chain Reaction
|
||||||
PCV,Pressure Control Valve
|
PCV,Pressure Control Valve
|
||||||
Pd,Palladium
|
Pd,Palladium
|
||||||
PD,Positive Displacement
|
PD,"Positive Displacement, Potential Difference"
|
||||||
PD,Potential Difference
|
PE,"PhycoErythrin, Polyethylene, Potential Energy"
|
||||||
PE,PhycoErythrin
|
|
||||||
PE,Polyethylene
|
|
||||||
PE,Potential Energy
|
|
||||||
PEA,PolyEster Amine
|
PEA,PolyEster Amine
|
||||||
PEEK,PolyEtherEtherKetone
|
PEEK,PolyEtherEtherKetone
|
||||||
PEG,PolyEthylene Glycol
|
PEG,PolyEthylene Glycol
|
||||||
@ -806,17 +794,14 @@ PHB,PolyHydroxyButyrate
|
|||||||
PHC,Petroleum HydroCarbon
|
PHC,Petroleum HydroCarbon
|
||||||
PHMB,PolyHexaMethyleneBiguanide
|
PHMB,PolyHexaMethyleneBiguanide
|
||||||
PHT,PHThalate
|
PHT,PHThalate
|
||||||
PI,Phosphate Ion
|
PI,"Phosphate Ion, PolyImide"
|
||||||
PI,PolyImide
|
|
||||||
PIB,PolyIsoButylene
|
PIB,PolyIsoButylene
|
||||||
pK,measurement of the dissociation constant
|
pK,measurement of the dissociation constant
|
||||||
PLA,Polymerized Lactic Acid
|
PLA,Polymerized Lactic Acid
|
||||||
PLC,PhosphoLipase-C
|
PLC,PhosphoLipase-C
|
||||||
PM,Particulate Matter
|
PM,"Particulate Matter, Photo Multiplier"
|
||||||
PM,Photo Multiplier
|
|
||||||
pm,picometer
|
pm,picometer
|
||||||
PM,Plasma Membrane
|
PM,"Plasma Membrane, Powder Metallurgy"
|
||||||
PM,Powder Metallurgy
|
|
||||||
Pm,Promethium
|
Pm,Promethium
|
||||||
PM10,Particulates smaller than 10 μm.
|
PM10,Particulates smaller than 10 μm.
|
||||||
PM3,Parameterized Model number 3
|
PM3,Parameterized Model number 3
|
||||||
@ -833,15 +818,12 @@ pOH,measurement of OH- ions in aqueous solution
|
|||||||
POL,"Petroleum, Oils, and Lubricants"
|
POL,"Petroleum, Oils, and Lubricants"
|
||||||
POP,Persistent Organic Pollutant
|
POP,Persistent Organic Pollutant
|
||||||
PORC,Porcelain
|
PORC,Porcelain
|
||||||
PPA,PhenylPropanolAmine
|
PPA,"PhenylPropanolAmine, PolyPhthalAmide"
|
||||||
PPA,PolyPhthalAmide
|
|
||||||
ppb,Parts per billion
|
ppb,Parts per billion
|
||||||
ppm,Parts per million
|
ppm,Parts per million
|
||||||
PPO,PolyPhenylene Oxide
|
PPO,PolyPhenylene Oxide
|
||||||
PPS,PolyPhenylene Sulfide
|
PPS,PolyPhenylene Sulfide
|
||||||
PPT,Parts Per Trillion
|
PPT,"Parts Per Trillion, PolyPyrimidine Tract, Precipitate"
|
||||||
PPT,PolyPyrimidine Tract
|
|
||||||
PPT,Precipitate
|
|
||||||
Pr,Praseodymium
|
Pr,Praseodymium
|
||||||
PRV,Pressure Relief Valve
|
PRV,Pressure Relief Valve
|
||||||
PSI,Pounds per Square Inch
|
PSI,Pounds per Square Inch
|
||||||
@ -850,8 +832,7 @@ Pt,Platinum
|
|||||||
PTFE,PolyTetraFluoroEthylene
|
PTFE,PolyTetraFluoroEthylene
|
||||||
Pu,Plutonium
|
Pu,Plutonium
|
||||||
PU,PolyUrethane
|
PU,PolyUrethane
|
||||||
PV,Parity Violation
|
PV,"Parity Violation, Pressure Volume"
|
||||||
PV,Pressure Volume
|
|
||||||
PVC,PolyVinyl Chloride
|
PVC,PolyVinyl Chloride
|
||||||
PVT,"Pressure, Volume, Temperature"
|
PVT,"Pressure, Volume, Temperature"
|
||||||
PXY,Para-XYlene
|
PXY,Para-XYlene
|
||||||
@ -859,11 +840,9 @@ Q,Heat energy
|
|||||||
QA,Quinolinic Acid
|
QA,Quinolinic Acid
|
||||||
QC,Quality Control
|
QC,Quality Control
|
||||||
QCD,Quantum ChromoDynamics
|
QCD,Quantum ChromoDynamics
|
||||||
QED,Quantum ElectroDynamics
|
QED,"Quantum ElectroDynamics, Quod Erat Demonstradum (Latin for “which was to be demonstrated”)"
|
||||||
QED,Quod Erat Demonstradum (Latin for “which was to be demonstrated”)
|
|
||||||
QM,Quantum Mechanics
|
QM,Quantum Mechanics
|
||||||
QS,Quantum State
|
QS,"Quantum State, Quantum Sufficit (Latin for “as much as needed”)"
|
||||||
QS,Quantum Sufficit (Latin for “as much as needed”)
|
|
||||||
qt,quart
|
qt,quart
|
||||||
QW,Quit Whining
|
QW,Quit Whining
|
||||||
QY,Quantum Yield
|
QY,Quantum Yield
|
||||||
@ -888,8 +867,7 @@ RBD,"Refined, Bleached and Deodorized"
|
|||||||
RCS,Reactive Chemical Species
|
RCS,Reactive Chemical Species
|
||||||
RDA,Recommended Daily Allowance
|
RDA,Recommended Daily Allowance
|
||||||
RDT,Recombinant DNA Technology
|
RDT,Recombinant DNA Technology
|
||||||
RDX,cyclotrimethylenetrinitramine
|
RDX,"cyclotrimethylenetrinitramine, Research Department Explosive"
|
||||||
RDX,Research Department Explosive
|
|
||||||
RE,Rare Earth
|
RE,Rare Earth
|
||||||
Re,Rhenium
|
Re,Rhenium
|
||||||
REACH,"Registration, Evaluation, Authorization, and restriction of CHemical substances"
|
REACH,"Registration, Evaluation, Authorization, and restriction of CHemical substances"
|
||||||
@ -899,8 +877,7 @@ rem,"Radiation Equivalent, Man"
|
|||||||
REM,Rare Earth Metal
|
REM,Rare Earth Metal
|
||||||
REQ,Required
|
REQ,Required
|
||||||
RER,Respiratory Exchange Ratio
|
RER,Respiratory Exchange Ratio
|
||||||
RF,Radio Frequency
|
RF,"Radio Frequency, Resonance Frequency"
|
||||||
RF,Resonance Frequency
|
|
||||||
Rf,Rutherfordium
|
Rf,Rutherfordium
|
||||||
RFIC,Reagent-Free Ion Chromatography
|
RFIC,Reagent-Free Ion Chromatography
|
||||||
RFM,Relative Formula Mass
|
RFM,Relative Formula Mass
|
||||||
@ -927,9 +904,7 @@ ROS,Reactive Oxygen Species
|
|||||||
ROWPU,Reverse Osmosis Water Purification Unit
|
ROWPU,Reverse Osmosis Water Purification Unit
|
||||||
RPT,Repeat
|
RPT,Repeat
|
||||||
RSC,Royal Society of Chemistry
|
RSC,Royal Society of Chemistry
|
||||||
RT,Energy (Rydberg Constant x Temperature)
|
RT,"Energy (Rydberg Constant x Temperature), Reverse Transcriptase, Room Temperature"
|
||||||
RT,Reverse Transcriptase
|
|
||||||
RT,Room Temperature
|
|
||||||
RTM,Read The Manual
|
RTM,Read The Manual
|
||||||
RTP,Room Temperature and Pressure
|
RTP,Room Temperature and Pressure
|
||||||
RTSC,Room Temperature Super Conductor
|
RTSC,Room Temperature Super Conductor
|
||||||
@ -977,18 +952,16 @@ Se,Selenium
|
|||||||
Sec,Seconds
|
Sec,Seconds
|
||||||
SEP,Separate
|
SEP,Separate
|
||||||
SEU,Slightly Enriched Uranium
|
SEU,Slightly Enriched Uranium
|
||||||
SF,Safety Factor
|
SF,"Safety Factor, Significant Figures"
|
||||||
SF,Significant Figures
|
|
||||||
SFC,Supercritical Fluid Chromatography
|
SFC,Supercritical Fluid Chromatography
|
||||||
SFPM,Suspended Fine Particulate Matter
|
SFPM,Suspended Fine Particulate Matter
|
||||||
Sg,Seaborgium
|
Sg,Seaborgium
|
||||||
SG,Specific Gravity
|
SG,"Specific Gravity, Spheroidal Graphite"
|
||||||
SG,Spheroidal Graphite
|
|
||||||
SH,Thiol functional group
|
SH,Thiol functional group
|
||||||
SHC,Synthetic HydroCarbon
|
SHC,Synthetic HydroCarbon
|
||||||
SHE,Standard Hydrogen Electrode
|
SHE,Standard Hydrogen Electrode
|
||||||
SHF,Super High Frequency
|
SHF,Super High Frequency
|
||||||
SI units,Système international d’unités (International System of Units)
|
SI,"Système international d’unités (International System of Units)"
|
||||||
Si,Silicon
|
Si,Silicon
|
||||||
SL,Sea Level
|
SL,Sea Level
|
||||||
SL,Short Lived
|
SL,Short Lived
|
||||||
@ -1028,8 +1001,7 @@ TAC,Teiacetyl Cellulose
|
|||||||
TAG,TriAcylGlyceride
|
TAG,TriAcylGlyceride
|
||||||
tan,tangent
|
tan,tangent
|
||||||
TAN,Total Acid Number
|
TAN,Total Acid Number
|
||||||
TAS,Total Alkali versus Silica
|
TAS,"Total Alkali versus Silica, Total Analysis System"
|
||||||
TAS,Total Analysis System
|
|
||||||
TAT,TriAcetone TriPeroxide
|
TAT,TriAcetone TriPeroxide
|
||||||
Tb,Terbium
|
Tb,Terbium
|
||||||
TBA,"2,4,6-TriBromoAnisole"
|
TBA,"2,4,6-TriBromoAnisole"
|
||||||
@ -1038,22 +1010,15 @@ TBC,4-TertButylCatechol
|
|||||||
TBHQ,TertButylHydroQuinone
|
TBHQ,TertButylHydroQuinone
|
||||||
TBP,True Boiling Point
|
TBP,True Boiling Point
|
||||||
TBT,TriButylTin
|
TBT,TriButylTin
|
||||||
Tc,Critical Temperature
|
Tc,"Critical Temperature, Technitium"
|
||||||
Tc,Technitium
|
TC,"Temperature Compensated, Temperature Controlled, Theoretical Chemistry"
|
||||||
TC,Temperature Compensated
|
|
||||||
TC,Temperature Controlled
|
|
||||||
TC,Theoretical Chemistry
|
|
||||||
TCA,TauroCholic Acid
|
TCA,TauroCholic Acid
|
||||||
TCA,TCA cycle (citric acid cycle)
|
TCA,TCA cycle (citric acid cycle)
|
||||||
TCA,TriChloroAcetic Acid
|
TCA,TriChloroAcetic Acid
|
||||||
TCE,TriChloroEthane
|
TCE,TriChloroEthane
|
||||||
TCF,ThiolCarbon Fiber
|
TCF,ThiolCarbon Fiber
|
||||||
TCM,TetraChloromethane
|
TCM,TetraChloromethane
|
||||||
TCP,"1,2,3-TriChloropropane"
|
TCP,"1,2,3-TriChloropropane, Thermal Conversion Process, Tocopherol, TriCalcium Phosphate, TriChloroPhenol"
|
||||||
TCP,Thermal Conversion Process
|
|
||||||
TCP,Tocopherol
|
|
||||||
TCP,TriCalcium Phosphate
|
|
||||||
TCP,TriChloroPhenol
|
|
||||||
TCS,Toxic Chemical System
|
TCS,Toxic Chemical System
|
||||||
TCT,ToCoTrienol
|
TCT,ToCoTrienol
|
||||||
TCV,Temperature Control Valve
|
TCV,Temperature Control Valve
|
||||||
@ -1100,8 +1065,7 @@ TOC,Total Organic Carbon
|
|||||||
TOI,Table Of Isotopes
|
TOI,Table Of Isotopes
|
||||||
TON,Table Of Nuclides
|
TON,Table Of Nuclides
|
||||||
TOX,Toxic
|
TOX,Toxic
|
||||||
TP,Transition Point
|
TP,"Transition Point, Triple Point"
|
||||||
TP,Triple Point
|
|
||||||
TPE,ThermoPlastic Elastomer
|
TPE,ThermoPlastic Elastomer
|
||||||
TPM,Total Particulate Matter
|
TPM,Total Particulate Matter
|
||||||
TR,Table Row
|
TR,Table Row
|
||||||
@ -1125,16 +1089,13 @@ TTX,Tetrodotoxin
|
|||||||
TU,Thermally Unbound
|
TU,Thermally Unbound
|
||||||
TWMC,Time Weighted Mean Concentration
|
TWMC,Time Weighted Mean Concentration
|
||||||
TWV,Total Water Vapor
|
TWV,Total Water Vapor
|
||||||
U,Internal Energy
|
U,"Internal Energy, Undetectable, Uranium"
|
||||||
U,Undetectable
|
|
||||||
U,Uranium
|
|
||||||
UAFM,Uranyl Acetate Fluorescence Method
|
UAFM,Uranyl Acetate Fluorescence Method
|
||||||
UCK,Universal Chemical Key
|
UCK,Universal Chemical Key
|
||||||
UG,"Undisturbed Gas UHC,Unburned HydroCarbons"
|
UG,"Undisturbed Gas UHC,Unburned HydroCarbons"
|
||||||
UHF,Ultra High Frequency
|
UHF,Ultra High Frequency
|
||||||
UHMW,Ultra High Molecular Weight
|
UHMW,Ultra High Molecular Weight
|
||||||
UHP,Ultra High Pressure
|
UHP,"Ultra High Pressure, Ultra High Purity"
|
||||||
UHP,Ultra High Purity
|
|
||||||
UHT,Ultra High Temperature
|
UHT,Ultra High Temperature
|
||||||
UHV,Ultra High Vacuum
|
UHV,Ultra High Vacuum
|
||||||
ULG,Universal Liquid Gas
|
ULG,Universal Liquid Gas
|
||||||
@ -1162,38 +1123,27 @@ UVL,UltraViolet Lamp
|
|||||||
UVR,UltraViolet Reactive
|
UVR,UltraViolet Reactive
|
||||||
UXS,Glucuronic Acid DeCarboxylase
|
UXS,Glucuronic Acid DeCarboxylase
|
||||||
UYQ,Uranium Yield Quantity
|
UYQ,Uranium Yield Quantity
|
||||||
V,Vacuum
|
V,"Vacuum, Valene, Vanadium, Volt, Volume"
|
||||||
V,Valene
|
|
||||||
V,Vanadium
|
|
||||||
v,velocity
|
v,velocity
|
||||||
V,Volt
|
VA,"Nitrogen group, Volume Analyzer"
|
||||||
V,Volume
|
VAC,"Vacuum, Vacuum Assisted Closure"
|
||||||
VA,Nitrogen group
|
VB,"Vacuum Break, Valence Band"
|
||||||
VA,Volume Analyzer
|
|
||||||
VAC,Vacuum
|
|
||||||
VAC,Vacuum Assisted Closure
|
|
||||||
VB,Vacuum Break
|
|
||||||
VB,Valence Band
|
|
||||||
VBJ,Vacuum Bell Jar
|
VBJ,Vacuum Bell Jar
|
||||||
VBT,Valence Bond Theory
|
VBT,Valence Bond Theory
|
||||||
VC,Vapor Cloud
|
VC,"Vapor Cloud, Vinyl Chloride, Viscous Coupled"
|
||||||
VC,Vinyl Chloride
|
|
||||||
VC,Viscous Coupled
|
|
||||||
VCE,Vapor Cloud Explosion
|
VCE,Vapor Cloud Explosion
|
||||||
VCM,Vinyl Chloride Monomer
|
VCM,Vinyl Chloride Monomer
|
||||||
Vd,Volume distribution
|
Vd,Volume distribution
|
||||||
VDB,VanDyke Brown test
|
VDB,VanDyke Brown test
|
||||||
VDF,Van der Waals force
|
VDF,Van der Waals force
|
||||||
VDW,Van der Waals radius
|
VDW,Van der Waals radius
|
||||||
VEQ,EQuilibrium Volume
|
VEQ,"EQuilibrium Volume, EQuivalence point Volume"
|
||||||
VEQ,EQuivalence point Volume
|
|
||||||
VFn,Vertical Face number (n is a number)
|
VFn,Vertical Face number (n is a number)
|
||||||
VH,Vapor Hazard
|
VH,Vapor Hazard
|
||||||
VHH,Volatile Halogenated Hydrocarbon
|
VHH,Volatile Halogenated Hydrocarbon
|
||||||
VHI,Vapor Hazard Index
|
VHI,Vapor Hazard Index
|
||||||
VHN,Vickers Hardness Number
|
VHN,Vickers Hardness Number
|
||||||
VHP,Vaporized Hydrogen Peroxide
|
VHP,"Vaporized Hydrogen Peroxide, Very High Pressure"
|
||||||
VHP,Very High Pressure
|
|
||||||
VHT,Very High Temperature
|
VHT,Very High Temperature
|
||||||
VHY,Very High Yield
|
VHY,Very High Yield
|
||||||
VI,Viscosity Index
|
VI,Viscosity Index
|
||||||
@ -1204,8 +1154,7 @@ VO,Vacuum Oven
|
|||||||
VOA,Volatile Organic Analysis
|
VOA,Volatile Organic Analysis
|
||||||
VOC,Volatile Organic Compound
|
VOC,Volatile Organic Compound
|
||||||
VOL,Volume
|
VOL,Volume
|
||||||
VP,Vapor Point
|
VP,"Vapor Point, Vapor Pressure"
|
||||||
VP,Vapor Pressure
|
|
||||||
VPE,Virtual Potential Energy
|
VPE,Virtual Potential Energy
|
||||||
VR,Very Rapid
|
VR,Very Rapid
|
||||||
VS,Very Saturated
|
VS,Very Saturated
|
||||||
@ -1215,28 +1164,17 @@ VSS,Volatile Suspended Solid
|
|||||||
VTC,Variable Temperature Cutoff
|
VTC,Variable Temperature Cutoff
|
||||||
VTP,"Volume, Temperature, Pressure"
|
VTP,"Volume, Temperature, Pressure"
|
||||||
VU,Volume Units
|
VU,Volume Units
|
||||||
VV,Vacuum Vessel
|
VV,"Vacuum Vessel, Valence-Valence"
|
||||||
VV,Valence-Valence
|
|
||||||
VW,Varies Widely
|
VW,Varies Widely
|
||||||
W,Tryptofan
|
W,"Tryptofan, Tungsten, Watt, wavelength, Weight, width, Work"
|
||||||
W,Tungsten
|
|
||||||
W,Watt
|
|
||||||
W,wavelength
|
|
||||||
W,Weight
|
|
||||||
W,width
|
|
||||||
W,Work
|
|
||||||
W5,Which Was What We Wanted
|
W5,Which Was What We Wanted
|
||||||
WA,Weak Acid
|
WA,Weak Acid
|
||||||
WAC,Weak Acid Cation
|
WAC,Weak Acid Cation
|
||||||
WB,Water Based
|
WB,"Water Based, Weak Base, Weak Bond"
|
||||||
WB,Weak Base
|
|
||||||
WB,Weak Bond
|
|
||||||
WBA,Weak Base Anion
|
WBA,Weak Base Anion
|
||||||
WC,Water Cosolvent
|
WC,Water Cosolvent
|
||||||
WCS,Worst Case Scenario
|
WCS,Worst Case Scenario
|
||||||
WD,Water Dispersant
|
WD,"Water Dispersant, Water Displacement, Wet/Dry"
|
||||||
WD,Water Displacement
|
|
||||||
WD,Wet/Dry
|
|
||||||
WIAP,Water In All Phases
|
WIAP,Water In All Phases
|
||||||
WIN,Water Insoluble Nitrogen
|
WIN,Water Insoluble Nitrogen
|
||||||
WNA,World Nuclear Association
|
WNA,World Nuclear Association
|
||||||
@ -1244,8 +1182,7 @@ WO,Weak Oxidizer
|
|||||||
WP,White Phosphorus
|
WP,White Phosphorus
|
||||||
WPS,Water Phase Salt
|
WPS,Water Phase Salt
|
||||||
WR,Water Repellent
|
WR,Water Repellent
|
||||||
WS,Wash Solution
|
WS,"Wash Solution, Water Soluble"
|
||||||
WS,Water Soluble
|
|
||||||
WSNZ,Water Soluble Zinc
|
WSNZ,Water Soluble Zinc
|
||||||
WSPI,"Water-Soluble Phosphorous, Inorganic"
|
WSPI,"Water-Soluble Phosphorous, Inorganic"
|
||||||
WSPO,"Water-Soluble Phosphorous, Organic"
|
WSPO,"Water-Soluble Phosphorous, Organic"
|
||||||
@ -1262,8 +1199,7 @@ WWIX,Waste Water Ion eXchange
|
|||||||
WYOL,Write Your Own Lab
|
WYOL,Write Your Own Lab
|
||||||
WYOLA,Write Your Own Lab Assignment
|
WYOLA,Write Your Own Lab Assignment
|
||||||
WYU,What You Use
|
WYU,What You Use
|
||||||
X,Halogen
|
X,"Halogen, unknown"
|
||||||
X,unknown
|
|
||||||
XAG,Silver Troy Ounce
|
XAG,Silver Troy Ounce
|
||||||
XAN,XANthine
|
XAN,XANthine
|
||||||
XAU,Gold Troy Ounce
|
XAU,Gold Troy Ounce
|
||||||
@ -1275,10 +1211,8 @@ XPD,Palladium Troy Ounce
|
|||||||
XPT,Platinum Troy Ounce
|
XPT,Platinum Troy Ounce
|
||||||
XUM,X-ray Ultra-Microscope
|
XUM,X-ray Ultra-Microscope
|
||||||
XYD,XYliDine
|
XYD,XYliDine
|
||||||
Y,Tyrosine
|
Y,"Tyrosine, Yotta prefix (1024), Yttrium"
|
||||||
y,yocto prefix (10-24)
|
y,yocto prefix (10-24)
|
||||||
Y,Yotta prefix (1024)
|
|
||||||
Y,Yttrium
|
|
||||||
YA,Yield Analysis
|
YA,Yield Analysis
|
||||||
YAG,Yttrium Aluminum Garnet
|
YAG,Yttrium Aluminum Garnet
|
||||||
YAP,Yield Analysis Pattern
|
YAP,Yield Analysis Pattern
|
||||||
@ -1290,13 +1224,8 @@ Yd,Yard
|
|||||||
YIC,Yttrium Lithium Fluoride
|
YIC,Yttrium Lithium Fluoride
|
||||||
Yr,Year
|
Yr,Year
|
||||||
YZN,Yellow ZiNc dichromate
|
YZN,Yellow ZiNc dichromate
|
||||||
Z,Atomic Number
|
Z,"Atomic Number, azimuth, Impedance, proton number, zero, Zetta prefix (1021)"
|
||||||
Z,azimuth
|
|
||||||
Z,Impedance
|
|
||||||
Z,proton number
|
|
||||||
z,zepto prefix (10-21)
|
z,zepto prefix (10-21)
|
||||||
Z,zero
|
|
||||||
Z,Zetta prefix (1021)
|
|
||||||
ZB,Zinc Blende
|
ZB,Zinc Blende
|
||||||
ZC,Zero Calibration
|
ZC,Zero Calibration
|
||||||
ZC,Zinc Composite
|
ZC,Zinc Composite
|
||||||
|
|
@ -243,6 +243,7 @@ ASSP,application-specific standard product
|
|||||||
AST,automated storage tiering
|
AST,automated storage tiering
|
||||||
ASTM,American Society for Testing and Materials
|
ASTM,American Society for Testing and Materials
|
||||||
ASUG,Americas' SAP Users' Group
|
ASUG,Americas' SAP Users' Group
|
||||||
|
ASWF,Academy Software Foundation
|
||||||
ATA,Advanced Technology Attachment
|
ATA,Advanced Technology Attachment
|
||||||
ATA,American Telemedicine Association
|
ATA,American Telemedicine Association
|
||||||
ATA,analog telephone adapter
|
ATA,analog telephone adapter
|
||||||
@ -468,6 +469,7 @@ CDR,call detail record
|
|||||||
CDR,Computed Dental Radiography
|
CDR,Computed Dental Radiography
|
||||||
CDSL,Consumer Digital Subscriber Line
|
CDSL,Consumer Digital Subscriber Line
|
||||||
CDSS,clinical decision support system
|
CDSS,clinical decision support system
|
||||||
|
CDU,Coolant Distribution Unit
|
||||||
CdTe,cadmium telluride
|
CdTe,cadmium telluride
|
||||||
CEBP,communications-enabled business processes
|
CEBP,communications-enabled business processes
|
||||||
CELL,Cell processor
|
CELL,Cell processor
|
||||||
@ -537,9 +539,7 @@ CKO,chief knowledge officer
|
|||||||
CL,cluster log
|
CL,cluster log
|
||||||
CLASS,Capacity Loading and Operation Sequence Scheduling
|
CLASS,Capacity Loading and Operation Sequence Scheduling
|
||||||
CLEC,competitive local exchange carrier
|
CLEC,competitive local exchange carrier
|
||||||
CLI,command line interface
|
CLI,"Command Line Interface, Command Line Interpreter, Common Language Infrastructure"
|
||||||
CLI,Command Line Interpreter
|
|
||||||
CLI,Common Language Infrastructure
|
|
||||||
CLM,Council For Logistics Management
|
CLM,Council For Logistics Management
|
||||||
CLO,chief learning officer
|
CLO,chief learning officer
|
||||||
CLOB,Character Large OBject
|
CLOB,Character Large OBject
|
||||||
@ -548,7 +548,8 @@ CLR,Common Language Runtime
|
|||||||
CM,configuration management
|
CM,configuration management
|
||||||
CM,content management
|
CM,content management
|
||||||
CM,Contract Manufacturer
|
CM,Contract Manufacturer
|
||||||
CMA,content management application
|
CMA,Content Management Application
|
||||||
|
CMD,Command Prompt
|
||||||
CMDB,configuration management database
|
CMDB,configuration management database
|
||||||
CMDM,Collaborative Master Data Management
|
CMDM,Collaborative Master Data Management
|
||||||
CMIO,Chief Medical Information Officer
|
CMIO,Chief Medical Information Officer
|
||||||
@ -675,7 +676,9 @@ CWE,Common Weakness Enumeration
|
|||||||
CWF,common working file
|
CWF,common working file
|
||||||
CWNP,Certified Wireless Networking Professional
|
CWNP,Certified Wireless Networking Professional
|
||||||
CX,consumer experience
|
CX,consumer experience
|
||||||
|
CXF,Credential Exchange Format
|
||||||
CXO,chief experience officer
|
CXO,chief experience officer
|
||||||
|
CXP,Credential Exchange Protocol
|
||||||
D-AMPS,Digital-Advanced Mobile Phone Service
|
D-AMPS,Digital-Advanced Mobile Phone Service
|
||||||
D-VHS,Digital Video Home System
|
D-VHS,Digital Video Home System
|
||||||
D2D,Disk to Disk
|
D2D,Disk to Disk
|
||||||
@ -1005,6 +1008,7 @@ EOL,"End of Life, End of Line"
|
|||||||
EOM,End of Message
|
EOM,End of Message
|
||||||
EOP,Microsoft Exchange Online Protection
|
EOP,Microsoft Exchange Online Protection
|
||||||
EOQ,Economic Order Quantity
|
EOQ,Economic Order Quantity
|
||||||
|
EOT,End of Transmission
|
||||||
EPA,Microsoft Exchange Server Profile Analyzer
|
EPA,Microsoft Exchange Server Profile Analyzer
|
||||||
EPC,Evolved Packet Core
|
EPC,Evolved Packet Core
|
||||||
EPD,electronic paper display
|
EPD,electronic paper display
|
||||||
@ -1033,7 +1037,7 @@ ESA,Enterprise Services Architecture
|
|||||||
ESB,enterprise service bus
|
ESB,enterprise service bus
|
||||||
ESCD,Extended System Configuration Data
|
ESCD,Extended System Configuration Data
|
||||||
ESCON,Enterprise Systems Connection
|
ESCON,Enterprise Systems Connection
|
||||||
ESD,electrostatic discharge
|
ESD,ElectroStatic Discharge
|
||||||
ESDI,Enhanced Small Device Interface
|
ESDI,Enhanced Small Device Interface
|
||||||
ESDRAM,Enhanced Synchronous DRAM
|
ESDRAM,Enhanced Synchronous DRAM
|
||||||
ESE,Environmentally Sustainable Electronics
|
ESE,Environmentally Sustainable Electronics
|
||||||
@ -1111,6 +1115,7 @@ FHA,Federal Health Architecture
|
|||||||
FHIE,Federal Health Information Exchange
|
FHIE,Federal Health Information Exchange
|
||||||
FI,Fast Infoset
|
FI,Fast Infoset
|
||||||
FICON,Fiber Connectivity
|
FICON,Fiber Connectivity
|
||||||
|
FIDO,Fast Identity Online Alliance
|
||||||
FIFO,"First In, First Out"
|
FIFO,"First In, First Out"
|
||||||
FILO,"First In, Last Out"
|
FILO,"First In, Last Out"
|
||||||
FIM,federated identity management
|
FIM,federated identity management
|
||||||
@ -1282,7 +1287,7 @@ gTLD,generic top-level domain name
|
|||||||
GTM,strategy go-to-market strategy
|
GTM,strategy go-to-market strategy
|
||||||
GUA,graphical password or graphical user authentication
|
GUA,graphical password or graphical user authentication
|
||||||
GUI,Graphical User Interface
|
GUI,Graphical User Interface
|
||||||
GUID,global unique identifier
|
GUID,Globally Unique Identifier (see also UUID)
|
||||||
GUM,Global Update Manager
|
GUM,Global Update Manager
|
||||||
GWAC,governmentwide acquisition contract
|
GWAC,governmentwide acquisition contract
|
||||||
GXA,Global XML Web Services Architecture
|
GXA,Global XML Web Services Architecture
|
||||||
@ -1293,7 +1298,7 @@ HA,high availability
|
|||||||
HaaS,Hardware as a Service
|
HaaS,Hardware as a Service
|
||||||
HAL,hardware abstraction layer
|
HAL,hardware abstraction layer
|
||||||
HALO,High Altitude Long Operation
|
HALO,High Altitude Long Operation
|
||||||
HANA,SAP HANA
|
HAMR,Heat-Assisted Magnetic Recording
|
||||||
HASA,Highly Accelerated Stress Audit
|
HASA,Highly Accelerated Stress Audit
|
||||||
HAVA,Help America Vote Act of 2002
|
HAVA,Help America Vote Act of 2002
|
||||||
HAVi,Home Audio Visual
|
HAVi,Home Audio Visual
|
||||||
@ -1325,6 +1330,7 @@ HHR,hybrid health record
|
|||||||
HHS,Health and Human Services
|
HHS,Health and Human Services
|
||||||
HID,Human Interface Device
|
HID,Human Interface Device
|
||||||
HIE,health information exchange
|
HIE,health information exchange
|
||||||
|
HIMR,Heat-Assisted Interlaced Magnetic Recording
|
||||||
HIMSS,Healthcare Information and Management Systems Society
|
HIMSS,Healthcare Information and Management Systems Society
|
||||||
HIPAA,Health Insurance Portability and Accountability Act
|
HIPAA,Health Insurance Portability and Accountability Act
|
||||||
HIPPI,High-Performance Parallel Interface
|
HIPPI,High-Performance Parallel Interface
|
||||||
@ -1391,6 +1397,7 @@ IBP,integrated business planning
|
|||||||
IC,integrated circuit
|
IC,integrated circuit
|
||||||
IC-BPMS,integration-centric business process management suite
|
IC-BPMS,integration-centric business process management suite
|
||||||
ICANN,Internet Corporation for Assigned Names and Numbers
|
ICANN,Internet Corporation for Assigned Names and Numbers
|
||||||
|
ICD,Interface Control Document
|
||||||
ICE,"In-Circuit Emulator, Information and Content Exchange"
|
ICE,"In-Circuit Emulator, Information and Content Exchange"
|
||||||
IcM,incident management
|
IcM,incident management
|
||||||
ICMP,Internet Control Message Protocol
|
ICMP,Internet Control Message Protocol
|
||||||
@ -1474,8 +1481,7 @@ IRQ,interrupt request
|
|||||||
IRR,internal rate of return
|
IRR,internal rate of return
|
||||||
IRTF,Internet Research Task Force
|
IRTF,Internet Research Task Force
|
||||||
IRU,Indefeasible Right of Use
|
IRU,Indefeasible Right of Use
|
||||||
IS,Information System
|
IS,Information System or Information Services
|
||||||
IS,information system or information services
|
|
||||||
IS-IS,Intermediate System-to-Intermediate System protocol
|
IS-IS,Intermediate System-to-Intermediate System protocol
|
||||||
ISA,Industry Standard Architecture
|
ISA,Industry Standard Architecture
|
||||||
ISAM,Indexed Sequential Access Method
|
ISAM,Indexed Sequential Access Method
|
||||||
@ -1863,7 +1869,8 @@ NURBS,nonuniform rational B-spline
|
|||||||
NUS,network unified storage
|
NUS,network unified storage
|
||||||
NVGRE,Network Virtualization using Generic Routing Encapsulation
|
NVGRE,Network Virtualization using Generic Routing Encapsulation
|
||||||
NVLAP,National Voluntary Laboratory Accreditation Program
|
NVLAP,National Voluntary Laboratory Accreditation Program
|
||||||
NVMe,non-volatile memory express
|
NVM,Non-Volatile Memory
|
||||||
|
NVMe,Non-Volatile Memory Express
|
||||||
NVS,nonvolatile storage
|
NVS,nonvolatile storage
|
||||||
NWR,NOAA Weather Radio
|
NWR,NOAA Weather Radio
|
||||||
O2O,Online to Offline
|
O2O,Online to Offline
|
||||||
@ -1981,7 +1988,7 @@ PCB,printed circuit board
|
|||||||
PCE,Path Computation Element
|
PCE,Path Computation Element
|
||||||
PCEP,Path Computation Element Protocol
|
PCEP,Path Computation Element Protocol
|
||||||
PCI,Peripheral Component Interconnect
|
PCI,Peripheral Component Interconnect
|
||||||
PCI-X,Peripheral Component Interconnect Extended
|
PCIe,Peripheral Component Interconnect Express
|
||||||
PCL,Printer Control Language
|
PCL,Printer Control Language
|
||||||
PCM,phase-change memory
|
PCM,phase-change memory
|
||||||
PCM,pulse code modulation
|
PCM,pulse code modulation
|
||||||
@ -2604,7 +2611,7 @@ USSD,Unstructured Supplementary Service Data
|
|||||||
UTF,Unicode Transformation Format
|
UTF,Unicode Transformation Format
|
||||||
UTM,unified threat management
|
UTM,unified threat management
|
||||||
UUCP,UNIX-to-UNIX Copy Protocol
|
UUCP,UNIX-to-UNIX Copy Protocol
|
||||||
UUID,Universal Unique Identifier
|
UUID,Universally Unique Identifier (see also GUID)
|
||||||
UX,user experience
|
UX,user experience
|
||||||
UXGA,Ultra Extended Graphics Array
|
UXGA,Ultra Extended Graphics Array
|
||||||
V2P,virtual to physical
|
V2P,virtual to physical
|
||||||
|
|
@ -20,6 +20,7 @@ ATR,Ability to Repay
|
|||||||
CBN,Central Bank of Nigeria
|
CBN,Central Bank of Nigeria
|
||||||
CD,Certificate of Deposit
|
CD,Certificate of Deposit
|
||||||
DDA,Demand Deposit Account
|
DDA,Demand Deposit Account
|
||||||
|
DM,"Deutsche Mark (currency in Germany 1948-2001)"
|
||||||
DTI,Debt-to-Income
|
DTI,Debt-to-Income
|
||||||
EAD,Exposure At Default
|
EAD,Exposure At Default
|
||||||
EBITDA,Earnings Before Interest, Taxes, Depreciation and Amortisation
|
EBITDA,Earnings Before Interest, Taxes, Depreciation and Amortisation
|
||||||
|
Can't render this file because it has a wrong number of fields in line 26.
|
@ -340,17 +340,18 @@ AOSTH,Adventures of Sonic the Hedgehog
|
|||||||
AOTS,"Attack of the Show!"
|
AOTS,"Attack of the Show!"
|
||||||
AOU,American Ornithologists' Union
|
AOU,American Ornithologists' Union
|
||||||
AP,"Advanced Placement,Air Publication,Andhra Pradesh (Indian state code),Armed Forces Pacific (postal symbol),Associated Press,Auto Pilot"
|
AP,"Advanced Placement,Air Publication,Andhra Pradesh (Indian state code),Armed Forces Pacific (postal symbol),Associated Press,Auto Pilot"
|
||||||
|
APAC,Asia Pacific
|
||||||
APB,All Points Bulletin (police jargon)
|
APB,All Points Bulletin (police jargon)
|
||||||
APC,Armoured Personnel Carrier,Armour Piercing Capped (ammunition)
|
APC,"Armoured Personnel Carrier, Armour Piercing Capped (ammunition)"
|
||||||
APCNR,Armour-Piercing,Composite Non-Rigid (ammunition)
|
APCNR,"Armour-Piercing,Composite Non-Rigid (ammunition)"
|
||||||
APCR,Armour-Piercing,Composite Rigid (ammunition)
|
APCR,"Armour-Piercing,Composite Rigid (ammunition)"
|
||||||
APDS,Armour-Piercing,Discarding-Sabot (ammunition)
|
APDS,"Armour-Piercing,Discarding-Sabot (ammunition)"
|
||||||
APEC,Asia Pacific Economic Cooperation
|
APEC,Asia Pacific Economic Cooperation
|
||||||
APEDS,AMSAA Performance Estimates Data System
|
APEDS,AMSAA Performance Estimates Data System
|
||||||
APEX,Applied Physics Express
|
APEX,Applied Physics Express
|
||||||
APFSDS,Armour-Piercing,Fin-Stabilised,Discarding Sabot (ammunition)
|
APFSDS,"Armour-Piercing,Fin-Stabilised,Discarding Sabot (ammunition)"
|
||||||
APHA,American Public Health Association
|
APHA,American Public Health Association
|
||||||
APHE,Armour-Piercing,High Explosive (ammunition)
|
APHE,"Armour-Piercing, High Explosive (ammunition)"
|
||||||
APHIS,Animal and Plant Health Inspection Service
|
APHIS,Animal and Plant Health Inspection Service
|
||||||
APL,"Acute Promyeloid Leukaemia,Anti-Personnel Landmine,Applied Physics Laboratory (Johns Hopkins University)"
|
APL,"Acute Promyeloid Leukaemia,Anti-Personnel Landmine,Applied Physics Laboratory (Johns Hopkins University)"
|
||||||
APOD,Aerial Port (Airport) Of Debarkation
|
APOD,Aerial Port (Airport) Of Debarkation
|
||||||
@ -370,13 +371,13 @@ ARC,Arc-second Raster Chart,Appalachian Regional Commission
|
|||||||
ARCA,Automobile Racing Club of America
|
ARCA,Automobile Racing Club of America
|
||||||
ARCENT,United States Army Central Command
|
ARCENT,United States Army Central Command
|
||||||
ARDA,Advanced Research and Development Activity (became DTO 2006)
|
ARDA,Advanced Research and Development Activity (became DTO 2006)
|
||||||
ARE,UK Admiralty Research Establishment (-1991),United Arab Emirates (ISO 3166 trigram)
|
ARE,"UK Admiralty Research Establishment (-1991),United Arab Emirates (ISO 3166 trigram)"
|
||||||
ARF,ASEAN Regional Forum
|
ARF,ASEAN Regional Forum
|
||||||
ARG,Argentina (ISO 3166 trigram)
|
ARG,Argentina (ISO 3166 trigram)
|
||||||
ARH,Armed Reconnaissance Helicopter
|
ARH,Armed Reconnaissance Helicopter
|
||||||
ARI,Acute Respiratory Infection,U.S. Army Research Institute for the Behavioral and Social Sciences
|
ARI,"Acute Respiratory Infection,U.S. Army Research Institute for the Behavioral and Social Sciences"
|
||||||
ARL,UK Admiralty Research Laboratory (1921-1977),U.S. Army Research Laboratory,UIUC Aviation Research Laboratory
|
ARL,"UK Admiralty Research Laboratory (1921-1977),U.S. Army Research Laboratory,UIUC Aviation Research Laboratory"
|
||||||
ARM,Anti-Radiation Missile,Adjustable-rate mortgage,Armenia (ISO 3166 trigram)
|
ARM,"Anti-Radiation Missile,Adjustable-rate mortgage,Armenia (ISO 3166 trigram)"
|
||||||
ARNet,Acquisition Reform Network
|
ARNet,Acquisition Reform Network
|
||||||
ARP,Applied Research Programme
|
ARP,Applied Research Programme
|
||||||
ARPA,Advanced Research Projects Agency
|
ARPA,Advanced Research Projects Agency
|
||||||
@ -385,7 +386,7 @@ ARRF,Allied Rapid Reaction Force
|
|||||||
ARRL,American Radio Relay League
|
ARRL,American Radio Relay League
|
||||||
ARSC,Arctic Region Supercomputing Center
|
ARSC,Arctic Region Supercomputing Center
|
||||||
ARSPACE,U.S. Army Space Command
|
ARSPACE,U.S. Army Space Command
|
||||||
ART,Adaptive Resonance Theory,Anti-Retroviral Therapy
|
ART,"Adaptive Resonance Theory, Anti-Retroviral Therapy"
|
||||||
ARTCC,Air Route Traffic Control Center
|
ARTCC,Air Route Traffic Control Center
|
||||||
ARWG,Army Research Working Group
|
ARWG,Army Research Working Group
|
||||||
AS,ActionScript
|
AS,ActionScript
|
||||||
@ -916,7 +917,7 @@ CPX,Command Post eXercise
|
|||||||
CQ,"Carrier Qualification,Central Queensland,Charge of Quarters,Congressional Quarterly,Constellation Airlines (IATA airline designator)"
|
CQ,"Carrier Qualification,Central Queensland,Charge of Quarters,Congressional Quarterly,Constellation Airlines (IATA airline designator)"
|
||||||
CQD,"Close Quarters Drill (Morse distress code preceding SOS: CQ 'calling all stations',D 'Distress'; often incorrectly interpreted as 'Come Quick,Distress')"
|
CQD,"Close Quarters Drill (Morse distress code preceding SOS: CQ 'calling all stations',D 'Distress'; often incorrectly interpreted as 'Come Quick,Distress')"
|
||||||
Cr,Chromium
|
Cr,Chromium
|
||||||
CR,"Costa Rica (ISO 3166 digram)"
|
CR,Costa Rica (ISO 3166 digram)
|
||||||
CRAM,Combined Radiometric Correction Model
|
CRAM,Combined Radiometric Correction Model
|
||||||
CRD,Capstone Requirements Document
|
CRD,Capstone Requirements Document
|
||||||
CREB,Cyclic AMP-response Element Binding (protein)
|
CREB,Cyclic AMP-response Element Binding (protein)
|
||||||
@ -931,6 +932,7 @@ CRT,"Cardiac Resynchronization Therapy,Cathode Ray Tube,Chinese Remainder Theore
|
|||||||
CRTC,Canadian Radio-television and Telecommunications Commission
|
CRTC,Canadian Radio-television and Telecommunications Commission
|
||||||
Cs,Caesium
|
Cs,Caesium
|
||||||
CSA,"Canadian Soccer Association,Canadian Space Agency,Canadian Standards Association,Child Support Agency,Command Staff Advisor,Community-supported agriculture,Confederate States of America,Corps Storage Area,Czech Airlines,C/S/A,CINC,Service,and Agency"
|
CSA,"Canadian Soccer Association,Canadian Space Agency,Canadian Standards Association,Child Support Agency,Command Staff Advisor,Community-supported agriculture,Confederate States of America,Corps Storage Area,Czech Airlines,C/S/A,CINC,Service,and Agency"
|
||||||
|
CSAM,Child Sexual Abuse Material
|
||||||
CSC,"Closed Spacelike Curve (relativity),Compact system camera,Computer Sciences Corporation,Computer Security Centre,CSCC Canadian Society of Clinical Chemists"
|
CSC,"Closed Spacelike Curve (relativity),Compact system camera,Computer Sciences Corporation,Computer Security Centre,CSCC Canadian Society of Clinical Chemists"
|
||||||
CSERIAC,(U.S. DoD) Crew Systems Ergonomics Information Analysis Center
|
CSERIAC,(U.S. DoD) Crew Systems Ergonomics Information Analysis Center
|
||||||
CSG,Corps Support Group
|
CSG,Corps Support Group
|
||||||
@ -1075,7 +1077,6 @@ DHA,DocosaHexaenoic Acid
|
|||||||
DHHS,(U.S.) Department of Health and Human Services
|
DHHS,(U.S.) Department of Health and Human Services
|
||||||
DHL,Dalsey,Hillblom,and Lynn (courier service)
|
DHL,Dalsey,Hillblom,and Lynn (courier service)
|
||||||
DHRA,(U.S.) DoD Human Resources Activity
|
DHRA,(U.S.) DoD Human Resources Activity
|
||||||
DHS,U.S. Department of Homeland Security
|
|
||||||
DHSS,UK Department of Health and Social Security
|
DHSS,UK Department of Health and Social Security
|
||||||
DHTFYSS,U.S. Don't Have Time For You Silly S****
|
DHTFYSS,U.S. Don't Have Time For You Silly S****
|
||||||
DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977)
|
DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977)
|
||||||
@ -1420,9 +1421,8 @@ ERTS,Earth Resources Technology Satellite (became Landsat)
|
|||||||
ERV,Endogenous RetroVirus
|
ERV,Endogenous RetroVirus
|
||||||
Es,Einsteinium,Exasecond
|
Es,Einsteinium,Exasecond
|
||||||
ES,"Electronic warfare Support,Exasiemens,Spain (ISO 3166 digram; from the country's native name of España)"
|
ES,"Electronic warfare Support,Exasiemens,Spain (ISO 3166 digram; from the country's native name of España)"
|
||||||
ESA,Electro-Spark Alloying,Endangered Species Act,European Space Agency
|
ESA,"Electro-Spark Alloying, Endangered Species Act, European Space Agency"
|
||||||
ESC,Embryonic Stem Cell,Electronic Stability Control
|
ESC,"Embryonic Stem Cell, Electronic Stability Control"
|
||||||
ESD,ElectroStatic Discharge
|
|
||||||
ESDP,European Security and Defence Policy
|
ESDP,European Security and Defence Policy
|
||||||
ESE,East South-East
|
ESE,East South-East
|
||||||
ESH,Western Sahara (ISO 3166 trigram)
|
ESH,Western Sahara (ISO 3166 trigram)
|
||||||
@ -1433,7 +1433,7 @@ ESOL,English for Speakers of Other Languages
|
|||||||
ESP,Electronic Stability Program,Extra-sensory perception,Spain (ISO 3166 trigram)
|
ESP,Electronic Stability Program,Extra-sensory perception,Spain (ISO 3166 trigram)
|
||||||
ESPGHAN,European Society for Paediatric Gastroenterology,Hepatology and Nutrition
|
ESPGHAN,European Society for Paediatric Gastroenterology,Hepatology and Nutrition
|
||||||
ESPN,Entertainment and Sports Programming Network
|
ESPN,Entertainment and Sports Programming Network
|
||||||
EST,Eastern Standard Time (UTC−5 hours),Estonia (ISO 3166 trigram)
|
EST,"Eastern Standard Time (UTC−5 hours), Estonia (ISO 3166 trigram)"
|
||||||
ESU,Emergency Services Unit
|
ESU,Emergency Services Unit
|
||||||
ESV,Engineer Support Vehicle
|
ESV,Engineer Support Vehicle
|
||||||
ET,Ethiopia (ISO 3166 digram)
|
ET,Ethiopia (ISO 3166 digram)
|
||||||
@ -1442,17 +1442,17 @@ ETF,Emergency Task Force (a special police unit,also jocularly said to stand for
|
|||||||
ETH,Ethiopia (ISO 3166 trigram)
|
ETH,Ethiopia (ISO 3166 trigram)
|
||||||
ETI,Extra-Terrestrial Intelligence
|
ETI,Extra-Terrestrial Intelligence
|
||||||
ETLA,Extended TLA
|
ETLA,Extended TLA
|
||||||
ETM,Electronic Technical Manual,Enhanced Thematic Mapper
|
ETM,"Electronic Technical Manual, Enhanced Thematic Mapper"
|
||||||
ETT,Embedded Training Team
|
ETT,Embedded Training Team
|
||||||
EU,European Union
|
EU,European Union
|
||||||
Eu,Europium
|
Eu,Europium
|
||||||
EUCOM,(U.S.) European Command
|
EUCOM,(U.S.) European Command
|
||||||
EUUSA,European Union and United States of America
|
EUUSA,European Union and United States of America
|
||||||
EV,Exavolt
|
EV,Exavolt
|
||||||
EVA,Earned Value Analysis,Economic value added,Ethylene-Vinyl Acetate,Extra-Vehicular Activity
|
EVA,"Earned Value Analysis, Economic value added, Ethylene-Vinyl Acetate, Extra-Vehicular Activity"
|
||||||
EVIL,Electronic viewfinder (with) interchangeable lens (a type of digital camera)
|
EVIL,Electronic viewfinder (with) interchangeable lens (a type of digital camera)
|
||||||
EW,Electronic Warfare,Exawatt
|
EW,Electronic Warfare,Exawatt
|
||||||
EWSD,Elektronisches Wählsystem Digital (German,"Electronic Digital Switching System")
|
EWSD,"Elektronisches Wählsystem Digital (German,'Electronic Digital Switching System')"
|
||||||
EWTN,Eternal Word Television Network
|
EWTN,Eternal Word Television Network
|
||||||
Exatesla,Extra Terrestrial
|
Exatesla,Extra Terrestrial
|
||||||
EXREP,Expeditious Repair (SM&R code)
|
EXREP,Expeditious Repair (SM&R code)
|
||||||
@ -2294,7 +2294,7 @@ IRQ,Iraq (ISO 3166 trigram)
|
|||||||
IRS,U.S. Internal Revenue Service
|
IRS,U.S. Internal Revenue Service
|
||||||
IRSN,Institut de radioprotection et de sûreté nucléaire (French,"Institute for Radiation Protection and Nuclear Safety")
|
IRSN,Institut de radioprotection et de sûreté nucléaire (French,"Institute for Radiation Protection and Nuclear Safety")
|
||||||
IRST,Infra-red Search and Track
|
IRST,Infra-red Search and Track
|
||||||
IS,Iceland (ISO 3166 digram)
|
IS,"Islamic State, or: Iceland (ISO 3166 digram)"
|
||||||
ISA,Individual Savings Account,Industry Standard Architecture,Instruction Set Architecture,International Seabed Authority
|
ISA,Individual Savings Account,Industry Standard Architecture,Instruction Set Architecture,International Seabed Authority
|
||||||
ISAAA,International Service for the Acquisition of Agri-biotech Applications
|
ISAAA,International Service for the Acquisition of Agri-biotech Applications
|
||||||
ISAF,International Sailing Federation,International Security Assistance Force
|
ISAF,International Sailing Federation,International Security Assistance Force
|
||||||
@ -2309,7 +2309,7 @@ ISEN,Internet Search Environment Number
|
|||||||
ISF,Internal Security Force
|
ISF,Internal Security Force
|
||||||
ISI-Indian Standards Institute,former name of the Bureau of Indian Standards,Inter-Services Intelligence (Pakistan),Islamic State of Iraq,an umbrella organization for several Iraqi insurgent groups
|
ISI-Indian Standards Institute,former name of the Bureau of Indian Standards,Inter-Services Intelligence (Pakistan),Islamic State of Iraq,an umbrella organization for several Iraqi insurgent groups
|
||||||
ISIL,Islamic State of Iraq and the Levant
|
ISIL,Islamic State of Iraq and the Levant
|
||||||
ISIS,"Institute for Science and International Security, or: Islamic State of Iraq and Syria"
|
ISIS,"Islamic State of Iraq and Syria, or: Institute for Science and International Security"
|
||||||
ISL,Iceland (ISO 3166 trigram)
|
ISL,Iceland (ISO 3166 trigram)
|
||||||
ISLN,International Standard Lawyer Number (used initially by LexisNexis Martindale-Hubbell)
|
ISLN,International Standard Lawyer Number (used initially by LexisNexis Martindale-Hubbell)
|
||||||
ISM,Industrial,scientific or medical,Interstellar medium
|
ISM,Industrial,scientific or medical,Interstellar medium
|
||||||
@ -2319,7 +2319,7 @@ ISO,In Search Of,International Organization for Standardization (from the Greek
|
|||||||
ISOGP,Indian Society of Orthodontics for General Practitioners [2]
|
ISOGP,Indian Society of Orthodontics for General Practitioners [2]
|
||||||
ISP,International Standardized Profile,Internet Service Provider,Information Systems Professional
|
ISP,International Standardized Profile,Internet Service Provider,Information Systems Professional
|
||||||
ISPE,International Society for Pharmacoepidemiology
|
ISPE,International Society for Pharmacoepidemiology
|
||||||
ISR,Intelligence,Surveillance and Reconnaissance,Israel (ISO 3166 trigram)
|
ISR,"Intelligence,Surveillance and Reconnaissance, or: Israel (ISO 3166 trigram)"
|
||||||
ISRO,Indian Space Research Organisation
|
ISRO,Indian Space Research Organisation
|
||||||
ISS,International Shorebird Survey (North America),International Space Station
|
ISS,International Shorebird Survey (North America),International Space Station
|
||||||
ISSCR,International Society for Stem Cell Research
|
ISSCR,International Society for Stem Cell Research
|
||||||
@ -2790,6 +2790,7 @@ MACHO,MAssive Compact Halo Object
|
|||||||
MADD,"Mothers Against Drunk Driving,MyoAdenylate Deaminase Deficiency,Multiply-Add"
|
MADD,"Mothers Against Drunk Driving,MyoAdenylate Deaminase Deficiency,Multiply-Add"
|
||||||
MAF,Maintenance Action Form
|
MAF,Maintenance Action Form
|
||||||
MAFF,Ministry of Agriculture,Forestry and Fisheries (various countries)
|
MAFF,Ministry of Agriculture,Forestry and Fisheries (various countries)
|
||||||
|
MAGA,Make America Great Again
|
||||||
MAGIC,Major Atmospheric Gamma-ray Imaging Cherenkov (telescope)
|
MAGIC,Major Atmospheric Gamma-ray Imaging Cherenkov (telescope)
|
||||||
MAGNETAR,Metaprogrammable AGent NETwork ARchitecture
|
MAGNETAR,Metaprogrammable AGent NETwork ARchitecture
|
||||||
MAGTF,Marine Air-Ground Task Force
|
MAGTF,Marine Air-Ground Task Force
|
||||||
@ -2961,7 +2962,6 @@ MLK,Martin Luther King,Jr.
|
|||||||
MLL,Major League Lacrosse
|
MLL,Major League Lacrosse
|
||||||
MLLW,Mean Lower Low Water (nautical charts)
|
MLLW,Mean Lower Low Water (nautical charts)
|
||||||
MLP,My Little Pony
|
MLP,My Little Pony
|
||||||
MLRS,Multiple-Launch Rocket System
|
|
||||||
MLS,Major League Soccer,Multiple Listing Service
|
MLS,Major League Soccer,Multiple Listing Service
|
||||||
MLSE,Maple Leaf Sports & Entertainment (owner of several Toronto-based sports teams),Maximum likelihood sequence estimation
|
MLSE,Maple Leaf Sports & Entertainment (owner of several Toronto-based sports teams),Maximum likelihood sequence estimation
|
||||||
MLSR,Missing,Lost or Stolen Report
|
MLSR,Missing,Lost or Stolen Report
|
||||||
@ -3911,7 +3911,7 @@ PPS,post postscriptum,Precise/Precision Positioning Service (GPS),PolyPhenylene
|
|||||||
PPV,Pay-per-view
|
PPV,Pay-per-view
|
||||||
PQ,Province of Québec (obsolete postal code,replaced by QC),Parti Québécois,PR[edit]
|
PQ,Province of Québec (obsolete postal code,replaced by QC),Parti Québécois,PR[edit]
|
||||||
Pr,"Pastor, Priest"
|
Pr,"Pastor, Priest"
|
||||||
PR,Public Relations
|
PR,"Public Relations, Personal Record"
|
||||||
Prb,Presbyter
|
Prb,Presbyter
|
||||||
PRBO,Point Reyes Bird Observatory
|
PRBO,Point Reyes Bird Observatory
|
||||||
PRC,People's Republic of China
|
PRC,People's Republic of China
|
||||||
@ -4588,7 +4588,7 @@ UA,Unit of Action
|
|||||||
UAAP,University Athletic Association of the Philippines
|
UAAP,University Athletic Association of the Philippines
|
||||||
UAB,University of Alabama at Birmingham
|
UAB,University of Alabama at Birmingham
|
||||||
UAE,United Arab Emirates (also IOC and FIFA trigram,but not ISO 3166)
|
UAE,United Arab Emirates (also IOC and FIFA trigram,but not ISO 3166)
|
||||||
UAP,Unidentified Areal Phenomana
|
UAP,Unidentified Anomalous Phenomena
|
||||||
UAR,"Uniformly At Random (probability),Unión Argentina de Rugby (Spanish for "Argentine Rugby Union"),United Arab Republic"
|
UAR,"Uniformly At Random (probability),Unión Argentina de Rugby (Spanish for "Argentine Rugby Union"),United Arab Republic"
|
||||||
UAV,"Unmanned Aerial Vehicle,Unprotected Anal and Vaginal sex,UB[edit]"
|
UAV,"Unmanned Aerial Vehicle,Unprotected Anal and Vaginal sex,UB[edit]"
|
||||||
UBC,"United Baptist Church,University of British Columbia"
|
UBC,"United Baptist Church,University of British Columbia"
|
||||||
@ -4737,11 +4737,11 @@ UST,Underground Storage Tank
|
|||||||
USTRANSCOM,United States Transportation Command
|
USTRANSCOM,United States Transportation Command
|
||||||
USWNT,United States women's national (soccer) team
|
USWNT,United States women's national (soccer) team
|
||||||
UT,Universal Time
|
UT,Universal Time
|
||||||
|
UTC,Coordinated Universal Time
|
||||||
UTEP, University of Texas at El Paso (pronounced you-tep)
|
UTEP, University of Texas at El Paso (pronounced you-tep)
|
||||||
UTM,Universal Transverse Mercator (geographical co-ordinate system)
|
UTM,Universal Transverse Mercator (geographical co-ordinate system)
|
||||||
UU,Unitarian Universalism,University of Utah,Unseen University
|
UU,Unitarian Universalism,University of Utah,Unseen University
|
||||||
UUA,Unitarian Universalist Association
|
UUA,Unitarian Universalist Association
|
||||||
UUID,Universally Unique Identifier (see also GUID)
|
|
||||||
UUV,Unmanned Underwater Vehicle
|
UUV,Unmanned Underwater Vehicle
|
||||||
UV,Burkina Faso (from Upper Volta),ultraviolet
|
UV,Burkina Faso (from Upper Volta),ultraviolet
|
||||||
UVM,Universal Verification Methodology,Universidad del Valle de México,University of Vermont,from its Latin name of Universitas Viridis Montis ("University of the Green Mountains"),UV mapping,UW[edit]
|
UVM,Universal Verification Methodology,Universidad del Valle de México,University of Vermont,from its Latin name of Universitas Viridis Montis ("University of the Green Mountains"),UV mapping,UW[edit]
|
||||||
@ -4925,6 +4925,7 @@ WL,Wehrmacht Luftwaffe (German World War II air force vehicle licence plate cod
|
|||||||
WLB,Women's Land Brigade (World War II Canada)
|
WLB,Women's Land Brigade (World War II Canada)
|
||||||
WLF,Wallis and Futuna Islands (ISO 3166 trigram)
|
WLF,Wallis and Futuna Islands (ISO 3166 trigram)
|
||||||
WLOG,Without Loss Of Generality (see WOLOG)
|
WLOG,Without Loss Of Generality (see WOLOG)
|
||||||
|
WLTP,Worldwide harmonized Light vehicles Test Procedure
|
||||||
WM,Wehrmacht Marine (German World War II navy vehicle licence plate code)
|
WM,Wehrmacht Marine (German World War II navy vehicle licence plate code)
|
||||||
WMANUS,West Midlands Area National Union of Students
|
WMANUS,West Midlands Area National Union of Students
|
||||||
WMD,World Movement for Democracy
|
WMD,World Movement for Democracy
|
||||||
@ -5165,4 +5166,3 @@ ZC,Zettacoulomb
|
|||||||
ZCM,(n) ZENworks Configuration Management
|
ZCM,(n) ZENworks Configuration Management
|
||||||
ZCMK,Zone Control Master Key
|
ZCMK,Zone Control Master Key
|
||||||
ZCU,Zimbabwe Cricket Union
|
ZCU,Zimbabwe Cricket Union
|
||||||
\a,Atto-
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 8.
|
@ -321,6 +321,7 @@ HEMAT,Heavy Expanded Mobility Ammunition Trailer
|
|||||||
HEP,High Explosive Plastic
|
HEP,High Explosive Plastic
|
||||||
HESH,High Explosive Squash Head
|
HESH,High Explosive Squash Head
|
||||||
HE-T,High Explosive - Tracer
|
HE-T,High Explosive - Tracer
|
||||||
|
HIMARS,High Mobility Artillery Rocket System
|
||||||
HMG,Heavy Machine u Gun
|
HMG,Heavy Machine u Gun
|
||||||
HMO,Health Maintenance Organization
|
HMO,Health Maintenance Organization
|
||||||
HOB,Height of Burst
|
HOB,Height of Burst
|
||||||
|
Can't render this file because it has a wrong number of fields in line 63.
|
@ -6,6 +6,7 @@ ABC,"American Broadcasting Corporation, Associated British Corporation, Australi
|
|||||||
ACLU,American Civil Liberties Union
|
ACLU,American Civil Liberties Union
|
||||||
ADB,Asian Development Bank
|
ADB,Asian Development Bank
|
||||||
AIIB,Asian Infrastructure Investment Bank
|
AIIB,Asian Infrastructure Investment Bank
|
||||||
|
APEC,Asia-Pacific Economic Cooperation
|
||||||
ASEAN,Association of South East Nations
|
ASEAN,Association of South East Nations
|
||||||
AT&T,American Telephone and Telegraph Company
|
AT&T,American Telephone and Telegraph Company
|
||||||
ATF,"U.S. Alcohol, Tobacco, Firearms and Explosives Bureau"
|
ATF,"U.S. Alcohol, Tobacco, Firearms and Explosives Bureau"
|
||||||
@ -13,29 +14,38 @@ BMW, Bavarian Motor Works
|
|||||||
BND,Bundesnachrichtendienst (Germany)
|
BND,Bundesnachrichtendienst (Germany)
|
||||||
BVD, Bradley, Voorhees, and Day
|
BVD, Bradley, Voorhees, and Day
|
||||||
CERN,European Organization for Nuclear Research
|
CERN,European Organization for Nuclear Research
|
||||||
CIA,U.S. Central Intelligence Agency
|
CIA,Central Intelligence Agency (USA)
|
||||||
|
CISA,Cybersecurity Insurance and Security Agency (USA)
|
||||||
CPUC,California Public Utilities Commission
|
CPUC,California Public Utilities Commission
|
||||||
DOC,U.S. Department of Commerce
|
DHS,Department of Homeland Security (USA)
|
||||||
DOD,U.S. Department of Defense
|
DOC,Department of Commerce (USA)
|
||||||
DOE,U.S. Department of Energy
|
DoD,Department of Defense (USA)
|
||||||
DOI,U.S. Department of the Interior
|
DoE,Department of Energy (USA)
|
||||||
DOJ,U.S. Department of Justice
|
DOI,Department of the Interior (USA)
|
||||||
DOL,U.S. Department of Labor
|
DOJ,Department of Justice (USA)
|
||||||
DOS,U.S. Department of State
|
DOL,Department of Labor (USA)
|
||||||
DOT,U.S. Department of Transportation
|
DOS,Department of State (USA)
|
||||||
|
DOT,Department of Transportation (USA)
|
||||||
EASA,European Aviation Safety Agency
|
EASA,European Aviation Safety Agency
|
||||||
ED,U.S. Department of Education
|
ED,U.S. Department of Education
|
||||||
ESA,European Space Agency
|
ESA,European Space Agency
|
||||||
ESPN, Entertainment and Sports Programming Network
|
ESPN, Entertainment and Sports Programming Network
|
||||||
|
FAO,Food and Agriculture Organization
|
||||||
FBI,U.S. Federal Bureau of Investigation
|
FBI,U.S. Federal Bureau of Investigation
|
||||||
|
FIFA,Fédération Internationale de Football Association
|
||||||
GEICO, Government Employees Insurance Company
|
GEICO, Government Employees Insurance Company
|
||||||
H&M, Hennes and Mauritz
|
H&M, Hennes and Mauritz
|
||||||
HHS,U.S. Department of Health and Human Services
|
HHS,U.S. Department of Health and Human Services
|
||||||
|
HRW,Human Rights Watch
|
||||||
HSBC, Hongkong and Shanghai Banking Corporation
|
HSBC, Hongkong and Shanghai Banking Corporation
|
||||||
HUD,U.S. Department of Housing and Urban Development
|
HUD,U.S. Department of Housing and Urban Development
|
||||||
IBM, International Business Machines
|
IBM, International Business Machines
|
||||||
|
ICC,International Cricket Council
|
||||||
ICI,Imperial Chemical Industries
|
ICI,Imperial Chemical Industries
|
||||||
|
ICJ,International Court of Justice
|
||||||
IMF,International Monetary Fund
|
IMF,International Monetary Fund
|
||||||
|
IMO,International Maritime Organization
|
||||||
|
IOC,International Olympic Committee
|
||||||
ISO,International Organization for Standardization
|
ISO,International Organization for Standardization
|
||||||
J&J,Johnson & Johnson
|
J&J,Johnson & Johnson
|
||||||
JBL, James Bullough Lansing
|
JBL, James Bullough Lansing
|
||||||
@ -45,6 +55,7 @@ LBA,Luftfahrtbundesamt (German aviation agency)
|
|||||||
M&M, Mars & Murrie’s
|
M&M, Mars & Murrie’s
|
||||||
MILF,Moro Islamic Liberation Front
|
MILF,Moro Islamic Liberation Front
|
||||||
NASA,National Aeronautics and Space Administration
|
NASA,National Aeronautics and Space Administration
|
||||||
|
NATO,North Atlantic Treaty Organization
|
||||||
NBC,National Broadcasting Company
|
NBC,National Broadcasting Company
|
||||||
NIST,U.S. National Institute of Standards and Technology
|
NIST,U.S. National Institute of Standards and Technology
|
||||||
NIWA,National Institute of Water and Atmospheric Research Limited
|
NIWA,National Institute of Water and Atmospheric Research Limited
|
||||||
@ -53,13 +64,17 @@ NSA,U.S. National Security Agency
|
|||||||
NYPD,New York Police Department
|
NYPD,New York Police Department
|
||||||
OECD,Organization for Economic Cooperation & Development
|
OECD,Organization for Economic Cooperation & Development
|
||||||
ONCD,Office of the National Cyber Director
|
ONCD,Office of the National Cyber Director
|
||||||
|
OPCW,Organization for the Prohibition of Chemical Weapons
|
||||||
|
OPEC,Organization of Petroleum Exporting Countries
|
||||||
RSF,Reporters Sans Frontières (French for: Reporters Without Borders)
|
RSF,Reporters Sans Frontières (French for: Reporters Without Borders)
|
||||||
SAARC,South Asian Association for Regional Cooperation
|
SAARC,South Asian Association for Regional Cooperation
|
||||||
TREAS,U.S. Department of the Treasury
|
TREAS,U.S. Department of the Treasury
|
||||||
ULA,United Launch Alliance
|
ULA,United Launch Alliance
|
||||||
UN,United Nations Organization
|
UN,United Nations Organization
|
||||||
|
UNCTAD,United Nations Conference on Trade & Development
|
||||||
UNESCO,United Nations Education Scientific & Cultural Organization
|
UNESCO,United Nations Education Scientific & Cultural Organization
|
||||||
UNICEF,United Nations Children's Fund
|
UNICEF,United Nations Children's Fund
|
||||||
|
UNIDO,United Nations Industrial Development Organization
|
||||||
UNO,United Nations Organization
|
UNO,United Nations Organization
|
||||||
USDA,United States Department of Agriculture
|
USDA,United States Department of Agriculture
|
||||||
UPS,United Parcel Service
|
UPS,United Parcel Service
|
||||||
@ -70,6 +85,8 @@ VA,U.S. Department of Veterans Affairs
|
|||||||
VW,Volkswagen
|
VW,Volkswagen
|
||||||
WEF,World Economic Forum
|
WEF,World Economic Forum
|
||||||
WHO,World Health Organization
|
WHO,World Health Organization
|
||||||
|
WIPO,World Intellectual Property Organization
|
||||||
|
WMO,World Meteorological Organization
|
||||||
WWF,World Wide Fund for Nature
|
WWF,World Wide Fund for Nature
|
||||||
YKK, Yoshida Manufacturing Corporation
|
YKK, Yoshida Manufacturing Corporation
|
||||||
YMCA,Young Men's Christian Association
|
YMCA,Young Men's Christian Association
|
||||||
|
Can't render this file because it has a wrong number of fields in line 15.
|
@ -20,3 +20,4 @@ NAME,URL,
|
|||||||
"Munich Airport","https://www.flightradar24.com/data/airports/muc",
|
"Munich Airport","https://www.flightradar24.com/data/airports/muc",
|
||||||
"Windy Weather Radar","https://www.windy.com/de/-Weather-radar-radar",
|
"Windy Weather Radar","https://www.windy.com/de/-Weather-radar-radar",
|
||||||
"Windy Weather Temperatures","https://www.windy.com/-Temperature-temp",
|
"Windy Weather Temperatures","https://www.windy.com/-Temperature-temp",
|
||||||
|
"Warnings in Germany","https://warnung.bund.de/meldungen",
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
DOMAIN,
|
DOMAIN,
|
||||||
a.root-servers.net,
|
abc.com
|
||||||
airbnb.com,
|
airbnb.com,
|
||||||
aka.ms,
|
aka.ms,
|
||||||
api.met.no,
|
api.met.no,
|
||||||
@ -10,8 +10,8 @@ amazon.com,
|
|||||||
b.root-servers.net,
|
b.root-servers.net,
|
||||||
bing.com,
|
bing.com,
|
||||||
bitbucket.org,
|
bitbucket.org,
|
||||||
c.root-servers.net,
|
|
||||||
client.dropbox.com,
|
client.dropbox.com,
|
||||||
|
cnn.com,
|
||||||
contacts.google.com,
|
contacts.google.com,
|
||||||
d.dropbox.com,
|
d.dropbox.com,
|
||||||
d.root-servers.net,
|
d.root-servers.net,
|
||||||
@ -98,4 +98,4 @@ www.whatsapp.com,
|
|||||||
www.whitehouse.gov,
|
www.whitehouse.gov,
|
||||||
www.windy.com,
|
www.windy.com,
|
||||||
www.wikipedia.org,
|
www.wikipedia.org,
|
||||||
www.youtube.com,
|
www.youtube.com,
|
|
@ -1,5 +1,5 @@
|
|||||||
FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW,
|
FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW,
|
||||||
base256, "dev tool", "git@github.com:fleschutz/base256.git", main, yes,
|
base256U, "dev tool", "git@github.com:fleschutz/base256U.git", main, yes,
|
||||||
bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes,
|
bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes,
|
||||||
cmake, "build tool", "https://github.com/Kitware/CMake", master, yes,
|
cmake, "build tool", "https://github.com/Kitware/CMake", master, yes,
|
||||||
cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes,
|
cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes,
|
||||||
@ -13,6 +13,8 @@ jhead, "EXIF tool", "https://github.com/Matthias-Wandel/jhead",
|
|||||||
leon, "personal assistant", "https://github.com/leon-ai/leon", master, yes,
|
leon, "personal assistant", "https://github.com/leon-ai/leon", master, yes,
|
||||||
llvm, "compiler", "https://github.com/llvm/llvm-project", main, yes,
|
llvm, "compiler", "https://github.com/llvm/llvm-project", main, yes,
|
||||||
LSS, "math tool", "git@github.com:fleschutz/LSS.git", main, yes,
|
LSS, "math tool", "git@github.com:fleschutz/LSS.git", main, yes,
|
||||||
|
my-backups, "backup tool", "git@github.com:fleschutz/my-backups.git", main, yes,
|
||||||
|
my-settings, "settings", "git@github.com:fleschutz/my-settings.git", main, yes,
|
||||||
ninja, "build tool", "https://github.com/ninja-build/ninja", master, yes,
|
ninja, "build tool", "https://github.com/ninja-build/ninja", master, yes,
|
||||||
opencv, "dev lib", "https://github.com/opencv/opencv", master, yes,
|
opencv, "dev lib", "https://github.com/opencv/opencv", master, yes,
|
||||||
PowerShell, "script collection", "git@github.com:fleschutz/PowerShell.git", main, yes,
|
PowerShell, "script collection", "git@github.com:fleschutz/PowerShell.git", main, yes,
|
||||||
@ -25,4 +27,4 @@ tensorflow, "AI tool", "https://github.com/tensorflow/tensorfl
|
|||||||
terminal, "desktop tool", "https://github.com/microsoft/terminal", main, yes,
|
terminal, "desktop tool", "https://github.com/microsoft/terminal", main, yes,
|
||||||
tinycc, "compiler", "https://github.com/TinyCC/tinycc", mob, yes,
|
tinycc, "compiler", "https://github.com/TinyCC/tinycc", mob, yes,
|
||||||
voice2json, "voice tool", "https://github.com/synesthesiam/voice2json", master, yes,
|
voice2json, "voice tool", "https://github.com/synesthesiam/voice2json", master, yes,
|
||||||
zfs, "filesystem tool", "https://github.com/openzfs/zfs", master, yes,
|
zfs, "filesystem tool", "https://github.com/openzfs/zfs", master, yes,
|
|
@ -61,4 +61,5 @@ Various,Samuel Johnson,"Never trust your tongue when your heart is bitter.",
|
|||||||
Various,William James,"The good we do today becomes the happiness of tomorrow.",
|
Various,William James,"The good we do today becomes the happiness of tomorrow.",
|
||||||
Various,Rene Descartes,"Conquer yourself rather than the world.",
|
Various,Rene Descartes,"Conquer yourself rather than the world.",
|
||||||
Various,Voltaire,"Everything you say should be true, but not everything true should be said.",
|
Various,Voltaire,"Everything you say should be true, but not everything true should be said.",
|
||||||
Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.",
|
Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.",
|
||||||
|
Various,Bertrand Russell,"The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts."
|
Can't render this file because it has a wrong number of fields in line 65.
|
74
docs/FAQ.md
74
docs/FAQ.md
@ -3,31 +3,38 @@
|
|||||||
|
|
||||||
<details><summary>What is PowerShell?</summary>
|
<details><summary>What is PowerShell?</summary>
|
||||||
|
|
||||||
**PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.**
|
**PowerShell is a cross-platform task automation solution made up of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Linux, Mac OS, and Windows.**
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>Why use PowerShell?</summary>
|
<details><summary>Why use PowerShell?</summary>
|
||||||
|
|
||||||
✔️ **It's powerful** - fully control your computer
|
* **It's powerful** - fully control your computer.
|
||||||
|
* **It's easy to learn** - see the tutorial at: https://www.guru99.com/powershell-tutorial.html.
|
||||||
|
* **It's cross-platform** - available for Linux, Mac OS and Windows.
|
||||||
|
* **It's open-source and free** - see the Github repository at: https://github.com/PowerShell/PowerShell.
|
||||||
|
* **It's fully documented** - see the official documentation at: https://docs.microsoft.com/en-us/powershell.
|
||||||
|
</details>
|
||||||
|
|
||||||
✔️ **It's easy to learn** - see the tutorial at: https://www.guru99.com/powershell-tutorial.html
|
<details><summary>How to learn PowerShell?</summary>
|
||||||
|
|
||||||
✔️ **It's cross-platform** - available for Linux, Mac OS and Windows
|
* **Please find tutorials at:** https://www.guru99.com/powershell-tutorial.html
|
||||||
|
* **See a cheat sheet at:** [PowerShell/Docs/cheat-sheet.md](cheat-sheet.md)
|
||||||
✔️ **It's open-source and free** - see the Github repository at: https://github.com/PowerShell/PowerShell
|
* **Visit the official PowerShell documentation at:** https://docs.microsoft.com/en-us/powershell/
|
||||||
|
|
||||||
✔️ **It's fully documented** - see the official documentation at: https://docs.microsoft.com/en-us/powershell
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to install PowerShell on Linux?</summary>
|
<details><summary>How to install PowerShell on Linux?</summary>
|
||||||
|
|
||||||
1. **On Linux with Snap support just execute:**
|
1. **Your Linux supports Snap packages? Then execute:**
|
||||||
```
|
```
|
||||||
$ snap install PowerShell
|
$ sudo snap install PowerShell
|
||||||
$ ln -s /snap/bin/pwsh /usr/bin/pwsh
|
$ sudo ln -s /snap/bin/pwsh /usr/bin/pwsh
|
||||||
```
|
```
|
||||||
2. **Otherwise, please visit:** https://github.com/PowerShell/PowerShell **and scroll down to: 'Get PowerShell'.**
|
2. **Otherwise, visit:** https://github.com/PowerShell/PowerShell **and scroll down to: *Get PowerShell*.**
|
||||||
|
3. **Want to set PowerShell as your default shell?**
|
||||||
|
* Make sure the file **/etc/shells** (contains valid login shells) has a **/usr/bin/pwsh** line, otherwise add it.
|
||||||
|
* Now execute: `chsh -s /usr/bin/pwsh <USERNAME>` (replace <USERNAME> by your user name).
|
||||||
|
4. **SSH login is too verbose?**
|
||||||
|
* Just execute: `echo > ~/.hushlogin`
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to install PowerShell on MacOS?</summary>
|
<details><summary>How to install PowerShell on MacOS?</summary>
|
||||||
@ -37,23 +44,23 @@
|
|||||||
|
|
||||||
<details><summary>How to install PowerShell on Windows?</summary>
|
<details><summary>How to install PowerShell on Windows?</summary>
|
||||||
|
|
||||||
**Good news:** it's preinstalled, **but** the script execution policy is *restricted* (forbidden) by default! To change this: open the *Windows PowerShell (Admin)* console and enter:
|
**It's already preinstalled, but** the script execution policy is *restricted* (forbidden) by default! **Open the *Windows PowerShell (Admin)* console and enter:**
|
||||||
```
|
```
|
||||||
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
|
||||||
```
|
```
|
||||||
**NOTE:** the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
|
**NOTE:** the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to get the Mega collection of PowerShell scripts?</summary>
|
<details><summary>How to get the 500+ PowerShell sample scripts?</summary>
|
||||||
|
|
||||||
1. **When using Git, execute in a terminal window:** `> git clone https://github.com/fleschutz/PowerShell`
|
1. **When using Git, execute in a terminal window:** `git clone https://github.com/fleschutz/PowerShell`
|
||||||
2. **Otherwise, download and unzip it from:** https://github.com/fleschutz/PowerShell/archive/master.zip
|
2. **Otherwise, download and unzip it from:** https://github.com/fleschutz/PowerShell/archive/master.zip
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to execute PowerShell scripts on Windows?</summary>
|
<details><summary>How to execute PowerShell scripts on Windows?</summary>
|
||||||
|
|
||||||
1. **In the Windows desktop:** right-click the script and select: *Execute with PowerShell*
|
1. **In the Windows desktop:** right-click the script and select: *Execute with PowerShell*
|
||||||
2. **On the command-line:** launch a terminal application (e.g. *Windows Terminal*), then type: `./<SCRIPT>.ps1`.
|
2. **On the command-line:** launch a terminal application (e.g. *Windows Terminal*), then type: `cd <PATH>`, then: `./<SCRIPT>.ps1`.
|
||||||
3. **By remote login:** use *SSH* to login to the Windows machine, then type: `cd <PATH>`, then: `./<SCRIPT>.ps1`.
|
3. **By remote login:** use *SSH* to login to the Windows machine, then type: `cd <PATH>`, then: `./<SCRIPT>.ps1`.
|
||||||
4. **By context menu:** see below.
|
4. **By context menu:** see below.
|
||||||
5. **By voice control:** see repo [talk2windows](https://github.com/fleschutz/talk2windows) for more information.
|
5. **By voice control:** see repo [talk2windows](https://github.com/fleschutz/talk2windows) for more information.
|
||||||
@ -75,23 +82,28 @@
|
|||||||
|
|
||||||
<details><summary>How to execute PowerShell scripts in Jenkins?</summary>
|
<details><summary>How to execute PowerShell scripts in Jenkins?</summary>
|
||||||
|
|
||||||
1. **Install the Jenkins plugin:** `PowerShell plugin` (it uses PowerShell.exe on Windows and pwsh on Linux).
|
1. **Install the Jenkins plugin** *"PowerShell plugin"* from https://plugins.jenkins.io/ (the plugin uses PowerShell.exe on Windows and pwsh on Linux).
|
||||||
2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
|
2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to learn PowerShell?</summary>
|
<details><summary>What about PowerShell security?</summary>
|
||||||
|
|
||||||
* **Please find tutorials at:** https://www.guru99.com/powershell-tutorial.html
|
1. **DO NOT execute scripts from untrusted sources! (rule applies to any executable)**
|
||||||
* **See a cheat sheet at:** [PowerShell/Docs/cheat-sheet.md](cheat-sheet.md)
|
2. **CHECK the script content for strange things prior execution.**
|
||||||
* **The official PowerShell documentation can be found here:** https://docs.microsoft.com/en-us/powershell/
|
3. **Prefer SSH Remoting instead of PowerShell Remoting**
|
||||||
|
4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>How to get the ultimate PowerShell experience?</summary>
|
||||||
|
|
||||||
|
1. **Install *PowerShell* (free) on all your Linux/Mac OS/Windows machines and configure it as your default shell.**
|
||||||
|
2. **Install an *SSH client & server* (free) on all your Linux/Mac OS/Windows machines for remote control via SSH.**
|
||||||
|
3. **Install *Windows Terminal* (free) on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message.**
|
||||||
|
4. **Install *Visual Studio Code* (free) with plugin 'PowerShell' to edit PowerShell scripts.**
|
||||||
|
5. **Install this *Mega Collection of PowerShell scripts* and set the PATH environment variable to it.**
|
||||||
|
6. **Use an own PowerShell profile, e.g. execute: './update-powershell-profile.ps1'**
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>What about security?</summary>
|
|
||||||
|
|
||||||
1. **Execute scripts only that you trust (and/or where you have checked the code before)!**
|
|
||||||
2. **Prefer SSH Remoting instead of PowerShell Remoting**
|
|
||||||
3. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
|
|
||||||
</details>
|
|
||||||
|
|
||||||
<details><summary>Why do some scripts show gibberish characters?</summary>
|
<details><summary>Why do some scripts show gibberish characters?</summary>
|
||||||
|
|
||||||
@ -100,12 +112,6 @@
|
|||||||
**Use a modern one such as *Windows Terminal*, please.**
|
**Use a modern one such as *Windows Terminal*, please.**
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to configure PowerShell as my default shell on Linux?</summary>
|
|
||||||
|
|
||||||
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 set a custom PowerShell profile?</summary>
|
<details><summary>How to set a custom PowerShell profile?</summary>
|
||||||
|
|
||||||
**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.**
|
**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.**
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *add-firewall-rules.ps1*
|
The *add-firewall-rules.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <String>] [[-FirewallProfile] <Array>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <String>] [[-FirewallProfile] <Array>] [<CommonParameters>]
|
||||||
|
|
||||||
-PathToExecutables <String>
|
-PathToExecutables <String>
|
||||||
Specifies the path to the executables.
|
Specifies the path to the executables.
|
||||||
@ -113,4 +113,4 @@ try {
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *alert.ps1*
|
The *alert.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script handles and escalates the given alert message.
|
This PowerShell script handles and escalates the given alert message.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Message <String>
|
-Message <String>
|
||||||
Specifies the alert message
|
Specifies the alert message
|
||||||
@ -71,4 +71,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *build-repo.ps1*
|
The *build-repo.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-path <String>
|
-path <String>
|
||||||
Specifies the path to the Git repository (default is current working directory)
|
Specifies the path to the Git repository (default is current working directory)
|
||||||
@ -28,7 +28,7 @@ Example
|
|||||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||||
...
|
...
|
||||||
✔️ Built 📂ninja repository in 47 sec.
|
✅ Built 📂ninja repository in 47 sec.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ Script Content
|
|||||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||||
...
|
...
|
||||||
✔️ Built 📂ninja repository in 47 sec.
|
✅ Built 📂ninja repository in 47 sec.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -188,7 +188,7 @@ try {
|
|||||||
|
|
||||||
$repoDirName = (Get-Item "$path").Name
|
$repoDirName = (Get-Item "$path").Name
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Built 📂$repoDirName repository in $elapsed sec."
|
"✅ Built 📂$repoDirName repository in $elapsed sec."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -196,4 +196,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *build-repos.ps1*
|
The *build-repos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script builds all Git repositories in a folder.
|
This PowerShell script builds all Git repositories in a folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-ParentDir <String>
|
-ParentDir <String>
|
||||||
Specifies the path to the parent folder
|
Specifies the path to the parent folder
|
||||||
@ -74,7 +74,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec"
|
"✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -82,4 +82,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-autostart.ps1*
|
The *cd-autostart.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's autostart folder.
|
This PowerShell script changes the working directory to the user's autostart folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-autostart.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-autostart.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,12 +47,12 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"
|
$path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "Autostart folder at 📂$Path doesn't exist (yet)"
|
throw "Autostart folder at 📂$path doesn't exist (yet)"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-crashdumps.ps1*
|
The *cd-crashdumps.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-crashdumps.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-crashdumps.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -63,4 +63,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-desktop.ps1*
|
The *cd-desktop.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's desktop folder.
|
This PowerShell script changes the working directory to the user's desktop folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-desktop.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-desktop.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,20 +48,20 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Desktop"
|
$path = Resolve-Path "~/Desktop"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('DesktopDirectory')
|
$path = [Environment]::GetFolderPath('DesktopDirectory')
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
if (Test-Path "$path" -pathType container) {
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
}
|
}
|
||||||
throw "User's desktop folder at 📂$Path doesn't exist (yet)"
|
throw "User's desktop folder at 📂$path doesn't exist (yet)"
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-docs.ps1*
|
The *cd-docs.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the documents folder.
|
This PowerShell script changes the working directory to the documents folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-docs.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-docs.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,15 +48,15 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "$HOME/Documents"
|
$path = Resolve-Path "~/Documents"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyDocuments')
|
$path = [Environment]::GetFolderPath('MyDocuments')
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "Documents folder at 📂$Path doesn't exist (yet)"
|
throw "Documents folder at 📂$path doesn't exist (yet)"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-downloads.ps1*
|
The *cd-downloads.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's downloads folder.
|
This PowerShell script changes the working directory to the user's downloads folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-downloads.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-downloads.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,20 +48,20 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Downloads"
|
$path = Resolve-Path "~/Downloads"
|
||||||
} else {
|
} else {
|
||||||
$Path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path
|
$path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
if (Test-Path "$path" -pathType container) {
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
}
|
}
|
||||||
throw "User's downloads folder at 📂$Path doesn't exist (yet)"
|
throw "User's downloads folder at 📂$path doesn't exist (yet)"
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-dropbox.ps1*
|
The *cd-dropbox.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-dropbox.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-dropbox.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,17 +47,15 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/Dropbox"
|
$path = Resolve-Path "~/Dropbox"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) { throw "No Dropbox folder at 📂$path - is Dropbox installed?" }
|
||||||
throw "Dropbox folder at 📂$Path doesn't exist (yet)"
|
Set-Location "$path"
|
||||||
}
|
"📂$path"
|
||||||
Set-Location "$Path"
|
|
||||||
"📂$Path"
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-etc.ps1*
|
The *cd-etc.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the /etc directory.
|
This PowerShell script changes the working directory to the /etc directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-etc.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-etc.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,15 +48,15 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinx) {
|
if ($IsLinx) {
|
||||||
$Path = "/etc"
|
$path = "/etc"
|
||||||
} else {
|
} else {
|
||||||
$Path = Resolve-Path "$env:WINDIR\System32\drivers\etc"
|
$path = Resolve-Path "$env:WINDIR\System32\drivers\etc"
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "/etc directory at 📂$Path doesn't exist (yet)"
|
throw "/etc directory at 📂$path doesn't exist (yet)"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -64,4 +64,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-fonts.ps1*
|
The *cd-fonts.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the fonts folder.
|
This PowerShell script changes the working directory to the fonts folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-fonts.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-fonts.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,12 +47,12 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = [Environment]::GetFolderPath('Fonts')
|
$path = [Environment]::GetFolderPath('Fonts')
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "Fonts folder at 📂$Path doesn't exist (yet)"
|
throw "Fonts folder at 📂$path doesn't exist (yet)"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-home.ps1*
|
The *cd-home.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's home directory.
|
This PowerShell script changes the working directory to the user's home directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-home.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-home.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -16,7 +16,7 @@ PS> ./cd-home.ps1 [<CommonParameters>]
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-home
|
PS> ./cd-home.ps1
|
||||||
📂C:\Users\Markus
|
📂C:\Users\Markus
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -38,7 +38,7 @@ Script Content
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the user's home directory.
|
This PowerShell script changes the working directory to the user's home directory.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-home
|
PS> ./cd-home.ps1
|
||||||
📂C:\Users\Markus
|
📂C:\Users\Markus
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
@ -47,17 +47,15 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path -Path "~"
|
$path = Resolve-Path "~"
|
||||||
if (Test-Path "$Path" -pathType container) {
|
if (-not(Test-Path "$path" -pathType container)) { throw "Home folder at $path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
}
|
|
||||||
throw "User's home folder at 📂$Path doesn't exist (yet)"
|
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
66
docs/cd-jenkins.md
Normal file
66
docs/cd-jenkins.md
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
The *cd-jenkins.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script changes the working directory to the Jenkins home directory.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/cd-jenkins.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./cd-jenkins
|
||||||
|
📂C:\Users\Markus\.jenkins
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Changes to the Jenkins home directory
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script changes the working directory to the Jenkins home directory.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./cd-jenkins
|
||||||
|
📂C:\Users\Markus\.jenkins
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (Test-Path "~/.jenkins" -pathType container) {
|
||||||
|
$path = "~/.jenkins"
|
||||||
|
} elseif (Test-Path "/var/snap/jenkins" -pathType container) {
|
||||||
|
$path = "/var/snap/jenkins"
|
||||||
|
} else {
|
||||||
|
throw "No Jenkins home directory found - is Jenkins installed?"
|
||||||
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
"📂$path"
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error: $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-logs.ps1*
|
The *cd-logs.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-logs.ps1
|
cd-logs.ps1
|
||||||
|
|
||||||
@ -38,9 +38,9 @@ function GetLogsDir {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = GetLogsDir
|
$path = GetLogsDir
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -48,4 +48,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-music.ps1*
|
The *cd-music.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's music folder.
|
This PowerShell script changes the working directory to the user's music folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-music.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-music.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,20 +48,20 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Music"
|
$path = Resolve-Path "~/Music"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyMusic')
|
$path = [Environment]::GetFolderPath('MyMusic')
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
if (Test-Path "$path" -pathType container) {
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
}
|
}
|
||||||
throw "User's music folder at 📂$Path doesn't exist (yet)"
|
throw "User's music folder at 📂$path doesn't exist (yet)"
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 05/19/2024 10:25:16)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
61
docs/cd-nextcloud.md
Normal file
61
docs/cd-nextcloud.md
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
The *cd-nextcloud.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script changes the working directory to the user's NextCloud folder.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/cd-nextcloud.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./cd-nextcloud
|
||||||
|
📂C:\Users\Markus\NextCloud
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Sets the working directory to the user's NextCloud folder
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script changes the working directory to the user's NextCloud folder.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./cd-nextcloud
|
||||||
|
📂C:\Users\Markus\NextCloud
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
$path = Resolve-Path "~/NextCloud"
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) { throw "No NextCloud folder at 📂$path - is NextCloud installed?" }
|
||||||
|
Set-Location "$path"
|
||||||
|
"📂$path"
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error: $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-onedrive.ps1*
|
The *cd-onedrive.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-onedrive.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-onedrive.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,17 +47,15 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/OneDrive"
|
$path = Resolve-Path "~/OneDrive"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) { throw "No OneDrive folder at 📂$path - is OneDrive installed?" }
|
||||||
throw "OneDrive folder at 📂$Path doesn't exist (yet)"
|
Set-Location "$path"
|
||||||
}
|
"📂$path"
|
||||||
Set-Location "$Path"
|
|
||||||
"📂$Path"
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-pics.ps1*
|
The *cd-pics.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's pictures folder.
|
This PowerShell script changes the working directory to the user's pictures folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-pics.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-pics.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,13 +48,13 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "$HOME/Pictures"
|
$path = Resolve-Path "~/Pictures"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyPictures')
|
$path = [Environment]::GetFolderPath('MyPictures')
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Pictures folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-public.ps1*
|
The *cd-public.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the Public folder.
|
This PowerShell script changes the working directory to the Public folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-public.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-public.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,13 +48,13 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Public"
|
$path = Resolve-Path "~/Public"
|
||||||
} else {
|
} else {
|
||||||
$Path = Resolve-Path "~/../Public"
|
$path = Resolve-Path "~/../Public"
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Public folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Public folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
63
docs/cd-recent.md
Normal file
63
docs/cd-recent.md
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
The *cd-recent.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script changes the working directory to the 'recent' folder.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/cd-recent.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./cd-recent
|
||||||
|
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Sets the working directory to the 'recent' folder
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script changes the working directory to the 'recent' folder.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./cd-recent
|
||||||
|
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
$path = [Environment]::GetFolderPath('Recent')
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
|
throw "Recent folder at 📂$path doesn't exist (yet)"
|
||||||
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
"📂$path"
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-recycle-bin.ps1*
|
The *cd-recycle-bin.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-recycle-bin.ps1
|
cd-recycle-bin.ps1
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$path = "$HOME/.local/share/Trash/"
|
$path = "~/.local/share/Trash/"
|
||||||
} else {
|
} else {
|
||||||
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
||||||
}
|
}
|
||||||
@ -53,4 +53,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
Script: *cd-repo.ps1*
|
The *cd-repo.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to a Git repository.
|
This PowerShell script changes the working directory to the given local Git repository.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repo.ps1 [[-folderName] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-repo.ps1 [[-folderName] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-folderName <String>
|
-folderName <String>
|
||||||
Specifies the folder name
|
Specifies the folder name of the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
@ -26,7 +26,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repo.ps1 rust
|
PS> ./cd-repo.ps1 rust
|
||||||
📂C:\Repos\rust • on Git branch: ## main ... origin/main
|
📂C:\Repos\rust · on branch: ## main ... origin/main
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -43,14 +43,14 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Sets the working directory to a repository
|
Sets the working directory to a repo
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to a Git repository.
|
This PowerShell script changes the working directory to the given local Git repository.
|
||||||
.PARAMETER folderName
|
.PARAMETER folderName
|
||||||
Specifies the folder name
|
Specifies the folder name of the Git repository
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-repo.ps1 rust
|
PS> ./cd-repo.ps1 rust
|
||||||
📂C:\Repos\rust • on Git branch: ## main ... origin/main
|
📂C:\Repos\rust · on branch: ## main ... origin/main
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -60,28 +60,35 @@ Script Content
|
|||||||
param([string]$folderName = "")
|
param([string]$folderName = "")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ("$folderName" -eq "") { $folderName = Read-Host "Enter the folder name" }
|
if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" }
|
||||||
|
|
||||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir
|
||||||
$path = "$HOME/Repos/"
|
$path = "~/Repos"
|
||||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
} elseif (Test-Path "~/repos" -pathType Container) {
|
||||||
$path = "$HOME/repos/"
|
$path = "~/repos"
|
||||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
} elseif (Test-Path "~/Repositories" -pathType Container) { # try long name
|
||||||
$path = "$HOME/Repositories/"
|
$path = "~/Repositories"
|
||||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
} elseif (Test-Path "~/repositories" -pathType Container) {
|
||||||
$path = "$HOME/source/repos/"
|
$path = "~/repositories"
|
||||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
} elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir
|
||||||
$path = "/Repos/"
|
$path = "/Repos"
|
||||||
|
} elseif (Test-Path "/repos" -pathType Container) {
|
||||||
|
$path = "/repos"
|
||||||
|
} elseif (Test-Path "/Repositories" -pathType Container) { # try long name
|
||||||
|
$path = "/Repositories"
|
||||||
|
} elseif (Test-Path "/repositories" -pathType Container) {
|
||||||
|
$path = "/repositories"
|
||||||
|
} elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default
|
||||||
|
$path = "~/source/repos"
|
||||||
} else {
|
} else {
|
||||||
throw "The folder for Git repositories doesn't exist (yet)"
|
throw "No Git repositories folder in your home directory or in the root folder yet"
|
||||||
}
|
}
|
||||||
$path += $folderName
|
$path += "/" + $folderName
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
||||||
|
|
||||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
|
||||||
$path = Resolve-Path "$path"
|
$path = Resolve-Path "$path"
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
Write-Host "📂$path • on Git branch: " -noNewline
|
Write-Host "📂$path · on branch: " -noNewline
|
||||||
|
|
||||||
& git status --short --branch --show-stash
|
& git status --short --branch --show-stash
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -90,4 +97,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-repos.ps1*
|
The *cd-repos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
This PowerShell script changes the working directory to the Git repositories folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repos.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-repos.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repos.ps1
|
PS> ./cd-repos.ps1
|
||||||
📂C:\Users\Markus\Repos
|
📂C:\Repos
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,14 +34,14 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Sets the working directory to the user's repos folder
|
Sets the working directory to the Git repos folder
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
This PowerShell script changes the working directory to the Git repositories folder.
|
||||||
.PARAMETER subpath
|
.PARAMETER subpath
|
||||||
Specifies an additional relative subpath (optional)
|
Specifies an additional relative subpath (optional)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-repos.ps1
|
PS> ./cd-repos.ps1
|
||||||
📂C:\Users\Markus\Repos
|
📂C:\Repos
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -49,21 +49,28 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
if (Test-Path "~/Repos" -pathType Container) { # try short name in home dir
|
||||||
$path = "$HOME/Repos/"
|
$path = "~/Repos"
|
||||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
} elseif (Test-Path "~/repos" -pathType Container) {
|
||||||
$path = "$HOME/repos/"
|
$path = "~/repos"
|
||||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
} elseif (Test-Path "~/Repositories" -pathType Container) { # try long name
|
||||||
$path = "$HOME/Repositories/"
|
$path = "~/Repositories"
|
||||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
} elseif (Test-Path "~/repositories" -pathType Container) {
|
||||||
$path = "$HOME/source/repos/"
|
$path = "~/repositories"
|
||||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
} elseif (Test-Path "/Repos" -pathType Container) { # try short name in root dir
|
||||||
$path = "/Repos/"
|
$path = "/Repos"
|
||||||
|
} elseif (Test-Path "/repos" -pathType Container) {
|
||||||
|
$path = "/repos"
|
||||||
|
} elseif (Test-Path "/Repositories" -pathType Container) { # try long name
|
||||||
|
$path = "/Repositories"
|
||||||
|
} elseif (Test-Path "/repositories" -pathType Container) {
|
||||||
|
$path = "/repositories"
|
||||||
|
} elseif (Test-Path "~/source/repos" -pathType Container) { # try Visual Studio default
|
||||||
|
$path = "~/source/repos"
|
||||||
} else {
|
} else {
|
||||||
throw "The folder for Git repositories doesn't exist (yet)"
|
throw "No Git repositories folder in your home directory or in the root folder yet"
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
$path = Resolve-Path $path
|
||||||
$path = Resolve-Path "$path"
|
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
"📂$path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
@ -73,4 +80,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-root.ps1*
|
The *cd-root.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-root.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-root.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,9 +47,9 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) { $Path = "/" } else { $Path = "C:\" }
|
if ($IsLinux) { $path = "/" } else { $path = "C:\" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-screenshots.ps1*
|
The *cd-screenshots.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-screenshots.ps1
|
cd-screenshots.ps1
|
||||||
|
|
||||||
@ -33,21 +33,21 @@ Script Content
|
|||||||
|
|
||||||
function GetScreenshotsFolder {
|
function GetScreenshotsFolder {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = "$HOME/Pictures"
|
$path = "~/Pictures"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Pictures folder at $Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at $path doesn't exist (yet)" }
|
||||||
if (Test-Path "$Path/Screenshots" -pathType container) { $Path = "$Path/Screenshots" }
|
if (Test-Path "$path/Screenshots" -pathType container) { $path = "$path/Screenshots" }
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyPictures')
|
$path = [Environment]::GetFolderPath('MyPictures')
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Pictures folder at $Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at $path doesn't exist (yet)" }
|
||||||
if (Test-Path "$Path\Screenshots" -pathType container) { $Path = "$Path\Screenshots" }
|
if (Test-Path "$path\Screenshots" -pathType container) { $path = "$path\Screenshots" }
|
||||||
}
|
}
|
||||||
return $Path
|
return $path
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = GetScreenshotsFolder
|
$path = GetScreenshotsFolder
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -55,4 +55,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-scripts.ps1*
|
The *cd-scripts.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-scripts.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-scripts.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -16,8 +16,8 @@ PS> ./cd-scripts.ps1 [<CommonParameters>]
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-scripts
|
PS> ./cd-scripts.ps1
|
||||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
📂C:\Repos\PowerShell\scripts
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -38,8 +38,8 @@ Script Content
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-scripts
|
PS> ./cd-scripts.ps1
|
||||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
📂C:\Repos\PowerShell\scripts
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-ssh.ps1*
|
The *cd-ssh.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's SSH folder.
|
This PowerShell script changes the working directory to the user's secure shell (SSH) folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-ssh.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-ssh.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -16,7 +16,7 @@ PS> ./cd-ssh.ps1 [<CommonParameters>]
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-ssh
|
PS> ./cd-ssh.ps1
|
||||||
📂C:\Users\Markus\.ssh
|
📂C:\Users\Markus\.ssh
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -34,11 +34,11 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Sets the working directory to the user's SSH folder
|
Sets the working directory to the SSH folder
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the user's SSH folder.
|
This PowerShell script changes the working directory to the user's secure shell (SSH) folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-ssh
|
PS> ./cd-ssh.ps1
|
||||||
📂C:\Users\Markus\.ssh
|
📂C:\Users\Markus\.ssh
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
@ -47,15 +47,16 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "~/.ssh"
|
$path = "~/.ssh"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "User's SSH folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Your secure shell (SSH) folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
$path = Resolve-Path "$path"
|
||||||
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$Path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-temp.ps1*
|
The *cd-temp.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-temp.ps1
|
cd-temp.ps1
|
||||||
|
|
||||||
@ -39,10 +39,10 @@ function GetTempDir {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = GetTempDir
|
$path = GetTempDir
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Temporary folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Temporary folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -50,4 +50,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-templates.ps1*
|
The *cd-templates.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the templates folder.
|
This PowerShell script changes the working directory to the templates folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-templates.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-templates.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,13 +48,13 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Templates"
|
$path = Resolve-Path "~/Templates"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('Templates')
|
$path = [Environment]::GetFolderPath('Templates')
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Templates folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Templates folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-trash.ps1*
|
The *cd-trash.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-trash.ps1
|
cd-trash.ps1
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$path = "$HOME/.local/share/Trash/"
|
$path = "~/.local/share/Trash/"
|
||||||
} else {
|
} else {
|
||||||
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
||||||
}
|
}
|
||||||
@ -53,4 +53,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up.ps1*
|
The *cd-up.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to one directory level up.
|
This PowerShell script changes the working directory to one directory level up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path ".."
|
$path = Resolve-Path ".."
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up2.ps1*
|
The *cd-up2.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to two directory level up.
|
This PowerShell script changes the working directory to two directory level up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up2.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up2.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "../.."
|
$path = Resolve-Path "../.."
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up3.ps1*
|
The *cd-up3.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to three directory levels up.
|
This PowerShell script changes the working directory to three directory levels up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up3.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up3.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "../../.."
|
$path = Resolve-Path "../../.."
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up4.ps1*
|
The *cd-up4.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to four directory levels up.
|
This PowerShell script changes the working directory to four directory levels up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up4.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up4.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "../../../.."
|
$path = Resolve-Path "../../../.."
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-users.ps1*
|
The *cd-users.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the users directory.
|
This PowerShell script changes the working directory to the users directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-users.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-users.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/.."
|
$path = Resolve-Path "~/.."
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Users directory at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Users directory at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-videos.ps1*
|
The *cd-videos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's videos folder.
|
This PowerShell script changes the working directory to the user's videos folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-videos.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-videos.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -48,13 +48,13 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "$HOME/Videos"
|
$path = Resolve-Path "~/Videos"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyVideos')
|
$path = [Environment]::GetFolderPath('MyVideos')
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Videos folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Videos folder at 📂$path doesn't exist (yet)" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -62,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-windows.ps1*
|
The *cd-windows.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the Windows directory.
|
This PowerShell script changes the working directory to the Windows directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-windows.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-windows.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$env:WINDIR"
|
$path = Resolve-Path "$env:WINDIR"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Windows directory at 📂$Path doesn't exist" }
|
if (-not(Test-Path "$path" -pathType container)) { throw "Windows directory at 📂$path doesn't exist" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *change-wallpaper.ps1*
|
The *change-wallpaper.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Category <String>
|
-Category <String>
|
||||||
Specifies the photo category (beach, city, ...)
|
Specifies the photo category (beach, city, ...)
|
||||||
@ -79,4 +79,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-admin.ps1*
|
The *check-admin.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks if the user has administrator rights.
|
This PowerShell script checks if the user has administrator rights.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-admin.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-admin.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-admin.ps1
|
PS> ./check-admin.ps1
|
||||||
✅ Yes
|
✅ Yes, Markus has admin rights.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script checks if the user has administrator rights.
|
This PowerShell script checks if the user has administrator rights.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-admin.ps1
|
PS> ./check-admin.ps1
|
||||||
✅ Yes
|
✅ Yes, Markus has admin rights.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -53,18 +53,18 @@ try {
|
|||||||
$user = [Security.Principal.WindowsIdentity]::GetCurrent()
|
$user = [Security.Principal.WindowsIdentity]::GetCurrent()
|
||||||
$principal = (New-Object Security.Principal.WindowsPrincipal $user)
|
$principal = (New-Object Security.Principal.WindowsPrincipal $user)
|
||||||
if ($principal.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)) {
|
if ($principal.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)) {
|
||||||
"✅ Yes"
|
"✅ Yes, $USERNAME has admin rights."
|
||||||
} elseif ($principal.IsInRole([Security.Principal.WindowsBuiltinRole]::Guest)) {
|
} elseif ($principal.IsInRole([Security.Principal.WindowsBuiltinRole]::Guest)) {
|
||||||
"⚠️ No, guest rights only"
|
"⚠️ No, $USERNAME, has guest rights only."
|
||||||
} else {
|
} else {
|
||||||
"⚠️ No, normal user rights only"
|
"⚠️ No, $USERNAME has normal user rights only."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0]) (in script line $($_.InvocationInfo.ScriptLineNumber))"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-apps.ps1*
|
The *check-apps.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-apps.ps1
|
check-apps.ps1
|
||||||
|
|
||||||
@ -24,50 +24,47 @@ Script Content
|
|||||||
This PowerShell script queries the installed applications and prints it.
|
This PowerShell script queries the installed applications and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-apps.ps1
|
PS> ./check-apps.ps1
|
||||||
✅ 119 Windows apps installed, 11 upgrades available
|
⚠️ 150 Win apps installed, 72 upgrades available, 5 crash dump(s) found
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
function GetCrashDumps {
|
function CountCrashDumps {
|
||||||
[string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps"
|
[string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps"
|
||||||
$count = 0
|
|
||||||
$files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory)
|
$files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory)
|
||||||
foreach($file in $files) { $count++ }
|
return $files.Count
|
||||||
return $count
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$statusIcon = "✅"
|
$status = "✅"
|
||||||
$statusMsg = ""
|
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Progress "Querying installed applications..."
|
Write-Progress "Querying installed applications..."
|
||||||
$numPkgs = (apt list --installed 2>/dev/null).Count
|
$numPkgs = (apt list --installed 2>/dev/null).Count
|
||||||
$numSnaps = (snap list).Count - 1
|
$numSnaps = (snap list).Count - 1
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
$statusMsg += "$numPkgs Debian packages, $numSnaps snaps installed"
|
$reply = "$numPkgs Debian packages, $numSnaps snaps installed"
|
||||||
} else {
|
} else {
|
||||||
Write-Progress "Querying installed apps..."
|
Write-Progress "Querying installed apps..."
|
||||||
$Apps = Get-AppxPackage
|
$apps = Get-AppxPackage
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
$statusMsg = "$($Apps.Count) Win apps installed"
|
$reply = "$($apps.Count) Win apps installed"
|
||||||
|
|
||||||
[int]$numNonOk = 0
|
[int]$numNonOk = 0
|
||||||
foreach($App in $Apps) { if ($App.Status -ne "Ok") { $numNonOk++ } }
|
foreach($app in $apps) { if ($app.Status -ne "Ok") { $numNonOk++ } }
|
||||||
if ($numNonOk -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numNonOk non-ok" }
|
if ($numNonOk -gt 0) { $status = "⚠️"; $reply += ", $numNonOk non-ok" }
|
||||||
|
|
||||||
[int]$numErrors = (Get-AppxLastError)
|
[int]$numErrors = (Get-AppxLastError)
|
||||||
if ($numErrors -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numErrors errors" }
|
if ($numErrors -gt 0) { $status = "⚠️"; $reply += ", $numErrors errors" }
|
||||||
|
|
||||||
$numUpdates = (winget upgrade --include-unknown).Count - 5
|
$numUpdates = (winget upgrade --include-unknown).Count - 5
|
||||||
$statusMsg += ", $numUpdates upgrades available"
|
$reply += ", $numUpdates upgrades available"
|
||||||
|
|
||||||
$crashDumps = GetCrashDumps
|
$numCrashDumps = CountCrashDumps
|
||||||
if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
|
if ($numCrashDumps -ne 0) { $status = "⚠️"; $reply += ", $numCrashDumps crash dump(s) found" }
|
||||||
}
|
}
|
||||||
Write-Host "$statusIcon $statusMsg"
|
Write-Host "$status $reply"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -75,4 +72,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-bios.ps1*
|
The *check-bios.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the BIOS status and prints it.
|
This PowerShell script queries the BIOS status and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-bios.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-bios.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-bios.ps1
|
PS> ./check-bios.ps1
|
||||||
✅ BIOS model P62 v02.67 by HP (version HPQOEM - 5, S/N CZC1080B01)
|
✅ BIOS model P62 v02.67, version HPQOEM - 5, S/N CZC1080B01 by HP
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script queries the BIOS status and prints it.
|
This PowerShell script queries the BIOS status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-bios.ps1
|
PS> ./check-bios.ps1
|
||||||
✅ BIOS model P62 v02.67 by HP (version HPQOEM - 5, S/N CZC1080B01)
|
✅ BIOS model P62 v02.67, version HPQOEM - 5, S/N CZC1080B01 by HP
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,27 +48,26 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Progress "Querying BIOS details..."
|
|
||||||
$model = (sudo dmidecode -s system-product-name)
|
$model = (sudo dmidecode -s system-product-name)
|
||||||
if ("$model" -ne "") {
|
if ("$model" -eq "") { exit 0 } # no information
|
||||||
$version = (sudo dmidecode -s bios-version)
|
Write-Progress "Querying BIOS details..."
|
||||||
$releaseDate = (sudo dmidecode -s bios-release-date)
|
$version = (sudo dmidecode -s bios-version)
|
||||||
$manufacturer = (sudo dmidecode -s system-manufacturer)
|
$releaseDate = (sudo dmidecode -s bios-release-date)
|
||||||
Write-Host "✅ BIOS model $model by $manufacturer (version $version of $releaseDate)"
|
$manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||||
}
|
Write-Progress -completed "Done."
|
||||||
Write-Progress -completed "."
|
|
||||||
} else {
|
} else {
|
||||||
$BIOS = Get-CimInstance -ClassName Win32_BIOS
|
$details = Get-CimInstance -ClassName Win32_BIOS
|
||||||
$model = $BIOS.Name.Trim()
|
$model = $details.Name.Trim()
|
||||||
$version = $BIOS.Version.Trim()
|
$version = $details.Version.Trim()
|
||||||
$serialNumber = $BIOS.SerialNumber.Trim()
|
$serial = $details.SerialNumber.Trim()
|
||||||
$manufacturer = $BIOS.Manufacturer.Trim()
|
$manufacturer = $details.Manufacturer.Trim()
|
||||||
if ($serialNumber -eq "To be filled by O.E.M.") {
|
|
||||||
Write-Host "✅ BIOS model $model by $manufacturer (version $version)"
|
|
||||||
} else {
|
|
||||||
Write-Host "✅ BIOS model $model by $manufacturer (version $version, S/N $serialNumber)"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
if ($model -eq "To be filled by O.E.M.") { $model = "N/A" }
|
||||||
|
if ($version -eq "To be filled by O.E.M.") { $version = "N/A" }
|
||||||
|
if ("$releaseDate" -ne "") { $releaseDate = " of $releaseDate" }
|
||||||
|
if ("$serial" -eq "") { $serial = "N/A" }
|
||||||
|
if ($serial -eq "To be filled by O.E.M.") { $serial = "N/A" }
|
||||||
|
Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -76,4 +75,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-cpu.ps1*
|
The *check-cpu.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-cpu.ps1
|
check-cpu.ps1
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ function GetCPUTemperature {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "Querying CPU status... "
|
Write-Progress "Querying CPU status..."
|
||||||
$status = "✅"
|
$status = "✅"
|
||||||
$arch = GetCPUArchitecture
|
$arch = GetCPUArchitecture
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
@ -74,26 +74,29 @@ try {
|
|||||||
$details = Get-WmiObject -Class Win32_Processor
|
$details = Get-WmiObject -Class Win32_Processor
|
||||||
$cpuName = $details.Name.trim()
|
$cpuName = $details.Name.trim()
|
||||||
$arch = "$arch, "
|
$arch = "$arch, "
|
||||||
$deviceID = "$($details.DeviceID), "
|
$deviceID = ", $($details.DeviceID)"
|
||||||
$speed = "$($details.MaxClockSpeed)MHz, "
|
$speed = ", $($details.MaxClockSpeed)MHz"
|
||||||
$socket = "$($details.SocketDesignation) socket, "
|
$socket = ", $($details.SocketDesignation) socket"
|
||||||
}
|
}
|
||||||
$cores = [System.Environment]::ProcessorCount
|
$cores = [System.Environment]::ProcessorCount
|
||||||
$celsius = GetCPUTemperature
|
$celsius = GetCPUTemperature
|
||||||
if ($celsius -eq 99999.9) {
|
if ($celsius -eq 99999.9) {
|
||||||
$temp = "no temp"
|
$temp = ""
|
||||||
|
} elseif ($celsius -gt 80) {
|
||||||
|
$temp = ", $($celsius)°C TOO HOT"
|
||||||
|
$status = "⚠️"
|
||||||
} elseif ($celsius -gt 50) {
|
} elseif ($celsius -gt 50) {
|
||||||
$temp = "$($celsius)°C"
|
$temp = ", $($celsius)°C HOT"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} elseif ($celsius -lt 0) {
|
} elseif ($celsius -lt 0) {
|
||||||
$temp = "$($celsius)°C"
|
$temp = ", $($celsius)°C TOO COLD"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} else {
|
} else {
|
||||||
$temp = "$($celsius)°C"
|
$temp = ", $($celsius)°C"
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
Write-Host "$status $cpuName ($($arch)$cores cores, $($deviceID)$($speed)$($socket)$temp)"
|
Write-Host "$status $cpuName ($($arch)$cores cores$($temp)$($deviceID)$($speed)$($socket))"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -101,4 +104,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-credentials.ps1*
|
The *check-credentials.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default).
|
This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-credentials.ps1 [[-TargetFile] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-credentials.ps1 [[-TargetFile] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-TargetFile <String>
|
-TargetFile <String>
|
||||||
Specifies the target file ("$HOME\my.credentials" by default)
|
Specifies the target file ("$HOME\my.credentials" by default)
|
||||||
@ -27,7 +27,7 @@ Example
|
|||||||
```powershell
|
```powershell
|
||||||
PS> ./check-credentials.ps1
|
PS> ./check-credentials.ps1
|
||||||
Enter username and password, please.
|
Enter username and password, please.
|
||||||
✔️ Your credentials are correct.
|
✅ Your credentials are correct.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ Script Content
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-credentials.ps1
|
PS> ./check-credentials.ps1
|
||||||
Enter username and password, please.
|
Enter username and password, please.
|
||||||
✔️ Your credentials are correct.
|
✅ Your credentials are correct.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -74,7 +74,7 @@ try {
|
|||||||
$pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password))
|
$pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password))
|
||||||
if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." }
|
if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." }
|
||||||
|
|
||||||
"✔️ Your credentials are correct."
|
"✅ Your credentials are correct."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -82,4 +82,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-day.ps1*
|
The *check-day.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-day.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-day.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-day
|
PS> ./check-day
|
||||||
✔️ It's Sunday.
|
✅ It's Sunday.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-day
|
PS> ./check-day
|
||||||
✔️ It's Sunday.
|
✅ It's Sunday.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-dns.ps1*
|
The *check-dns.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it.
|
This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-dns.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-dns.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-dns.ps1
|
PS> ./check-dns.ps1
|
||||||
✅ DNS resolves 56.5 domains per second
|
✅ Internet DNS: 33.6ms lookup time
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,10 +36,10 @@ Script Content
|
|||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Check the DNS resolution
|
Check the DNS resolution
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it.
|
This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-dns.ps1
|
PS> ./check-dns.ps1
|
||||||
✅ DNS resolves 56.5 domains per second
|
✅ Internet DNS: 33.6ms lookup time
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,24 +47,23 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "Measuring DNS resolution..."
|
|
||||||
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
|
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
|
||||||
$numRows = $table.Length
|
|
||||||
|
|
||||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
foreach($row in $table){$nop=dig $row.Domain +short}
|
foreach($row in $table){$nop=dig $row.Domain +short}
|
||||||
} else {
|
} else {
|
||||||
|
Clear-DnsClientCache
|
||||||
foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
||||||
}
|
}
|
||||||
[float]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0
|
||||||
|
$speed = [math]::round($elapsed / $table.Length, 1)
|
||||||
Write-Progress -completed " "
|
if ($speed -lt 10.0) {
|
||||||
$average = [math]::round($numRows / $elapsed, 1)
|
Write-Output "✅ Internet DNS: $($speed)ms excellent lookup time"
|
||||||
if ($average -lt 10.0) {
|
} elseif ($speed -lt 100.0) {
|
||||||
Write-Host "⚠️ DNS resolves $average domains per second only"
|
Write-Output "✅ Internet DNS: $($speed)ms lookup time"
|
||||||
} else {
|
} else {
|
||||||
Write-Host "✅ DNS resolves $average domains per second"
|
Write-Output "⚠️ Internet DNS: $($speed)ms slow lookup time"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -73,4 +72,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-drive-space.ps1*
|
The *check-drive-space.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given drive for free space left (10 GB by default).
|
This PowerShell script checks the given drive for free space left (10 GB by default).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<CommonParameters>]
|
||||||
|
|
||||||
-driveName <String>
|
-driveName <String>
|
||||||
Specifies the drive name to check (e.g. "C")
|
Specifies the drive name to check (e.g. "C")
|
||||||
@ -35,7 +35,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drive-space.ps1 C
|
PS> ./check-drive-space.ps1 C
|
||||||
✅ Drive C: has 442GB free (56% of 1TB used)
|
✅ Drive C: uses 56% of 1TB - 442GB free
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ Script Content
|
|||||||
Specifies the minimum level in bytes (10GB by default)
|
Specifies the minimum level in bytes (10GB by default)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-drive-space.ps1 C
|
PS> ./check-drive-space.ps1 C
|
||||||
✅ Drive C: has 442GB free (56% of 1TB used)
|
✅ Drive C: uses 56% of 1TB - 442GB free
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -101,7 +101,7 @@ try {
|
|||||||
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
||||||
} else {
|
} else {
|
||||||
[int64]$percent = ($used * 100) / $total
|
[int64]$percent = ($used * 100) / $total
|
||||||
Write-Host "✅ Drive $driveName has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
|
Write-Host "✅ Drive $driveName uses $percent% of $(Bytes2String $total) - $(Bytes2String $free) free"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -110,4 +110,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
Script: *check-drives.ps1*
|
The *check-drives.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the free space of all drives and prints it.
|
This PowerShell script queries the free space of all drives and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drives.ps1 [[-minLevel] <Int64>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-drives.ps1 [[-minLevel] <Int64>] [<CommonParameters>]
|
||||||
|
|
||||||
-minLevel <Int64>
|
-minLevel <Int64>
|
||||||
Specifies the minimum warning level (10GB by default)
|
Specifies the minimum warning level (5GB by default)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
Default value 10
|
Default value 5368709120
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
@ -26,8 +26,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drives.ps1
|
PS> ./check-drives.ps1
|
||||||
✅ Drive C: has 512GB free (49% of 1TB used)
|
✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty
|
||||||
✅ Drive D: has 641GB free (84% of 4TB used)
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -48,51 +47,54 @@ Script Content
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script queries the free space of all drives and prints it.
|
This PowerShell script queries the free space of all drives and prints it.
|
||||||
.PARAMETER minLevel
|
.PARAMETER minLevel
|
||||||
Specifies the minimum warning level (10GB by default)
|
Specifies the minimum warning level (5GB by default)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-drives.ps1
|
PS> ./check-drives.ps1
|
||||||
✅ Drive C: has 512GB free (49% of 1TB used)
|
✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty
|
||||||
✅ Drive D: has 641GB free (84% of 4TB used)
|
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param([int64]$minLevel = 10) # 10 GB minimum
|
param([int64]$minLevel = 5GB)
|
||||||
|
|
||||||
function Bytes2String { param([int64]$number)
|
function Bytes2String { param([int64]$bytes)
|
||||||
if ($number -lt 1KB) { return "$number bytes" }
|
if ($bytes -lt 1KB) { return "$bytes bytes" }
|
||||||
if ($number -lt 1MB) { return '{0:N0}KB' -f ($number / 1KB) }
|
if ($bytes -lt 1MB) { return '{0:N0}KB' -f ($bytes / 1KB) }
|
||||||
if ($number -lt 1GB) { return '{0:N0}MB' -f ($number / 1MB) }
|
if ($bytes -lt 1GB) { return '{0:N0}MB' -f ($bytes / 1MB) }
|
||||||
if ($number -lt 1TB) { return '{0:N0}GB' -f ($number / 1GB) }
|
if ($bytes -lt 1TB) { return '{0:N0}GB' -f ($bytes / 1GB) }
|
||||||
if ($number -lt 1PB) { return '{0:N0}TB' -f ($number / 1TB) }
|
if ($bytes -lt 1PB) { return '{0:N0}TB' -f ($bytes / 1TB) }
|
||||||
return '{0:N0}GB' -f ($number / 1PB)
|
return '{0:N0}GB' -f ($bytes / 1PB)
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "Querying drives..."
|
Write-Progress "Querying drives..."
|
||||||
$drives = Get-PSDrive -PSProvider FileSystem
|
$drives = Get-PSDrive -PSProvider FileSystem
|
||||||
$minLevel *= 1GB
|
Write-Progress -completed "Done."
|
||||||
Write-Progress -completed " "
|
$status = "✅"
|
||||||
|
$reply = "Drive "
|
||||||
foreach($drive in $drives) {
|
foreach($drive in $drives) {
|
||||||
$details = (Get-PSDrive $drive.Name)
|
$details = (Get-PSDrive $drive.Name)
|
||||||
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
||||||
[int64]$free = $details.Free
|
[int64]$free = $details.Free
|
||||||
[int64]$used = $details.Used
|
[int64]$used = $details.Used
|
||||||
[int64]$total = ($used + $free)
|
[int64]$total = ($used + $free)
|
||||||
|
if ($reply -ne "Drive ") { $reply += ", " }
|
||||||
if ($total -eq 0) {
|
if ($total -eq 0) {
|
||||||
Write-Host "✅ Drive $name is empty"
|
$reply += "$name is empty"
|
||||||
} elseif ($free -eq 0) {
|
} elseif ($free -eq 0) {
|
||||||
Write-Host "⚠️ Drive $name with $(Bytes2String $total) is full"
|
$status = "⚠️"
|
||||||
|
$reply += "$name with ($(Bytes2String $total)) is FULL"
|
||||||
} elseif ($free -lt $minLevel) {
|
} elseif ($free -lt $minLevel) {
|
||||||
Write-Host "⚠️ Drive $name with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
$status = "⚠️"
|
||||||
|
$reply += "$name nearly full ($(Bytes2String $free) of $(Bytes2String $total) left)"
|
||||||
} else {
|
} else {
|
||||||
[int64]$percent = ($used * 100) / $total
|
[int64]$percent = ($used * 100) / $total
|
||||||
Write-Host "✅ Drive $name has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
|
$reply += "$name uses $(Bytes2String $used) ($percent%) of $(Bytes2String $total)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Write-Host "$status $reply"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -100,4 +102,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-dusk.ps1*
|
The *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 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-easter-sunday.ps1*
|
The *check-easter-sunday.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-easter-sunday.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-easter-sunday.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-file-system.ps1*
|
The *check-file-system.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the file system of a drive. It needs admin rights.
|
This PowerShell script checks the file system of a drive. It needs admin rights.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Drive <String>
|
-Drive <String>
|
||||||
Specifies the drive to check
|
Specifies the drive to check
|
||||||
@ -26,7 +26,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-file-system C
|
PS> ./check-file-system C
|
||||||
✔️ file system on drive C is clean
|
✅ file system on drive C is clean
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Script Content
|
|||||||
Specifies the drive to check
|
Specifies the drive to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-file-system C
|
PS> ./check-file-system C
|
||||||
✔️ file system on drive C is clean
|
✅ file system on drive C is clean
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -75,4 +75,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-file.ps1*
|
The *check-file.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines and prints the file type of the given file.
|
This PowerShell script determines and prints the file type of the given file.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Path <String>
|
-Path <String>
|
||||||
Specifies the path to the file
|
Specifies the path to the file
|
||||||
@ -170,4 +170,4 @@ function Check-Header { param( $path )
|
|||||||
Check-Header $Path
|
Check-Header $Path
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-firewall.ps1*
|
The *check-firewall.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the status of the firewall and prints it.
|
This PowerShell script queries the status of the firewall and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-firewall.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-firewall.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-gpu.ps1*
|
The *check-gpu.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-gpu.ps1
|
check-gpu.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script queries the GPU status and prints it.
|
This PowerShell script queries the GPU status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-gpu.ps1
|
PS> ./check-gpu.ps1
|
||||||
✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32-bit, 59Hz, driver 31.0.15.1740, status OK)
|
✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32-bit, 59Hz, driver 31.0.15.1740) - status OK
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -56,7 +56,7 @@ try {
|
|||||||
$RefreshRate = $Details.CurrentRefreshRate
|
$RefreshRate = $Details.CurrentRefreshRate
|
||||||
$DriverVersion = $Details.DriverVersion
|
$DriverVersion = $Details.DriverVersion
|
||||||
$Status = $Details.Status
|
$Status = $Details.Status
|
||||||
Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion, status $Status)"
|
Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-hardware.ps1*
|
The *check-hardware.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the hardware details of the local computer and prints it.
|
This PowerShell script queries the hardware details of the local computer and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-hardware.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-hardware.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -18,7 +18,7 @@ Example
|
|||||||
```powershell
|
```powershell
|
||||||
PS> ./check-hardware.ps1
|
PS> ./check-hardware.ps1
|
||||||
|
|
||||||
H A R D W A R E
|
=== H A R D W A R E ===
|
||||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||||
...
|
...
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ Script Content
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-hardware.ps1
|
PS> ./check-hardware.ps1
|
||||||
|
|
||||||
H A R D W A R E
|
=== H A R D W A R E ===
|
||||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||||
...
|
...
|
||||||
.LINK
|
.LINK
|
||||||
@ -52,10 +52,11 @@ Script Content
|
|||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
Write-Host "`n H A R D W A R E" -foregroundColor green
|
Write-Host "`n === H A R D W A R E ===" -foregroundColor green
|
||||||
& "$PSScriptRoot/check-cpu.ps1"
|
& "$PSScriptRoot/check-cpu.ps1"
|
||||||
& "$PSScriptRoot/check-ram.ps1"
|
& "$PSScriptRoot/check-ram.ps1"
|
||||||
& "$PSScriptRoot/check-gpu.ps1"
|
& "$PSScriptRoot/check-gpu.ps1"
|
||||||
|
& "$PSScriptRoot/check-motherboard.ps1"
|
||||||
& "$PSScriptRoot/check-bios.ps1"
|
& "$PSScriptRoot/check-bios.ps1"
|
||||||
& "$PSScriptRoot/check-smart-devices.ps1"
|
& "$PSScriptRoot/check-smart-devices.ps1"
|
||||||
& "$PSScriptRoot/check-power.ps1"
|
& "$PSScriptRoot/check-power.ps1"
|
||||||
@ -63,4 +64,4 @@ Write-Host "`n H A R D W A R E" -foregroundColor green
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-health.ps1*
|
The *check-health.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-health.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-health.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -58,4 +58,4 @@ Script Content
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-independence-day.ps1*
|
The *check-independence-day.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-independence-day.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-independence-day.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 05/19/2024 10:25:17)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-ipv4-address.ps1*
|
The *check-ipv4-address.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given IPv4 address for validity.
|
This PowerShell script checks the given IPv4 address for validity.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Address <String>
|
-Address <String>
|
||||||
Specifies the IPv4 address to check
|
Specifies the IPv4 address to check
|
||||||
@ -26,7 +26,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv4-address 192.168.11.22
|
PS> ./check-ipv4-address 192.168.11.22
|
||||||
✔️ IPv4 192.168.11.22 is valid
|
✅ IPv4 192.168.11.22 is valid
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Script Content
|
|||||||
Specifies the IPv4 address to check
|
Specifies the IPv4 address to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ipv4-address 192.168.11.22
|
PS> ./check-ipv4-address 192.168.11.22
|
||||||
✔️ IPv4 192.168.11.22 is valid
|
✅ IPv4 192.168.11.22 is valid
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -72,7 +72,7 @@ try {
|
|||||||
if ($Address -eq "" ) { $Address = read-host "Enter IPv4 address to validate" }
|
if ($Address -eq "" ) { $Address = read-host "Enter IPv4 address to validate" }
|
||||||
|
|
||||||
if (IsIPv4AddressValid $Address) {
|
if (IsIPv4AddressValid $Address) {
|
||||||
"✔️ IPv4 $Address is valid"
|
"✅ IPv4 $Address is valid"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
write-warning "Invalid IPv4 address: $Address"
|
write-warning "Invalid IPv4 address: $Address"
|
||||||
@ -84,4 +84,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-ipv6-address.ps1*
|
The *check-ipv6-address.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given IPv6 address for validity
|
This PowerShell script checks the given IPv6 address for validity
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Address <String>
|
-Address <String>
|
||||||
Specifies the IPv6 address to check
|
Specifies the IPv6 address to check
|
||||||
@ -26,7 +26,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
||||||
✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
✅ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Script Content
|
|||||||
Specifies the IPv6 address to check
|
Specifies the IPv6 address to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
||||||
✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
✅ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -86,7 +86,7 @@ try {
|
|||||||
$Address = read-host "Enter IPv6 address to validate"
|
$Address = read-host "Enter IPv6 address to validate"
|
||||||
}
|
}
|
||||||
if (IsIPv6AddressValid $Address) {
|
if (IsIPv6AddressValid $Address) {
|
||||||
"✔️ IPv6 $Address is valid"
|
"✅ IPv6 $Address is valid"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
write-warning "Invalid IPv6 address: $Address"
|
write-warning "Invalid IPv6 address: $Address"
|
||||||
@ -98,4 +98,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-iss-position.ps1*
|
The *check-iss-position.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-iss-position.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-iss-position.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -55,4 +55,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-mac-address.ps1*
|
The *check-mac-address.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given MAC address for validity
|
This PowerShell script checks the given MAC address for validity
|
||||||
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
||||||
@ -7,7 +7,7 @@ Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000
|
|||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-MAC <String>
|
-MAC <String>
|
||||||
Specifies the MAC address to check
|
Specifies the MAC address to check
|
||||||
@ -27,7 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-mac-address 11:22:33:44:55:66
|
PS> ./check-mac-address 11:22:33:44:55:66
|
||||||
✔️ MAC address 11:22:33:44:55:66 is valid
|
✅ MAC address 11:22:33:44:55:66 is valid
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ Script Content
|
|||||||
Specifies the MAC address to check
|
Specifies the MAC address to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-mac-address 11:22:33:44:55:66
|
PS> ./check-mac-address 11:22:33:44:55:66
|
||||||
✔️ MAC address 11:22:33:44:55:66 is valid
|
✅ MAC address 11:22:33:44:55:66 is valid
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -75,7 +75,7 @@ try {
|
|||||||
$MAC = read-host "Enter MAC address to validate"
|
$MAC = read-host "Enter MAC address to validate"
|
||||||
}
|
}
|
||||||
if (IsMACAddressValid $MAC) {
|
if (IsMACAddressValid $MAC) {
|
||||||
"✔️ MAC address $MAC is valid"
|
"✅ MAC address $MAC is valid"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
write-warning "Invalid MAC address: $MAC"
|
write-warning "Invalid MAC address: $MAC"
|
||||||
@ -87,4 +87,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-midnight.ps1*
|
The *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 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-month.ps1*
|
The *check-month.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-month.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-month.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-month
|
PS> ./check-month
|
||||||
✔️ It's December.
|
✅ It's December.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-month
|
PS> ./check-month
|
||||||
✔️ It's December.
|
✅ It's December.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-moon-phase.ps1*
|
The *check-moon-phase.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-moon-phase.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-moon-phase.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -76,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
62
docs/check-motherboard.md
Normal file
62
docs/check-motherboard.md
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
The *check-motherboard.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script lists the motherboard details.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/check-motherboard.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-motherboard.ps1
|
||||||
|
✅ Motherboard Calla_LC by LN
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Lists motherboard details
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script lists the motherboard details.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./check-motherboard.ps1
|
||||||
|
✅ Motherboard Calla_LC by LN
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
if ($IsLinux) {
|
||||||
|
} else {
|
||||||
|
$details = Get-WmiObject -Class Win32_BaseBoard
|
||||||
|
"✅ Motherboard $($details.Product) by $($details.Manufacturer)"
|
||||||
|
}
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-network.ps1*
|
The *check-network.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the network details of the local computer and prints it.
|
This PowerShell script queries the network details of the local computer and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-network.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-network.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -20,8 +20,8 @@ PS> ./check-network.ps1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
N E T W O R K
|
=== N E T W O R K ===
|
||||||
✅ Online with 30ms latency (16ms..56ms, 0/10 loss)
|
✅ Firewall enabled
|
||||||
...
|
...
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -39,14 +39,14 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Checks the network details
|
Checks the network
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script queries the network details of the local computer and prints it.
|
This PowerShell script queries the network details of the local computer and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-network.ps1
|
PS> ./check-network.ps1
|
||||||
|
|
||||||
N E T W O R K
|
=== N E T W O R K ===
|
||||||
✅ Online with 30ms latency (16ms..56ms, 0/10 loss)
|
✅ Firewall enabled
|
||||||
...
|
...
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
@ -54,14 +54,17 @@ Script Content
|
|||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
Write-Host "`n N E T W O R K" -foregroundColor green
|
Write-Host "`n === N E T W O R K ===" -foregroundColor green
|
||||||
& "$PSScriptRoot/ping-remote-hosts.ps1"
|
|
||||||
& "$PSScriptRoot/check-firewall"
|
& "$PSScriptRoot/check-firewall"
|
||||||
|
& "$PSScriptRoot/list-local-ip.ps1"
|
||||||
|
& "$PSScriptRoot/ping-local-devices.ps1"
|
||||||
|
& "$PSScriptRoot/list-network-shares.ps1"
|
||||||
|
& "$PSScriptRoot/list-internet-ip.ps1"
|
||||||
|
& "$PSScriptRoot/ping-internet.ps1"
|
||||||
& "$PSScriptRoot/check-dns.ps1"
|
& "$PSScriptRoot/check-dns.ps1"
|
||||||
& "$PSScriptRoot/check-vpn.ps1"
|
& "$PSScriptRoot/check-vpn.ps1"
|
||||||
& "$PSScriptRoot/list-public-ip.ps1"
|
& "$PSScriptRoot/list-ssh-key.ps1"
|
||||||
& "$PSScriptRoot/ping-local-hosts.ps1"
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-noon.ps1*
|
The *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 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-os.ps1*
|
The *check-os.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the operating system status and prints it.
|
This PowerShell script queries the operating system status and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-os.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-os.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-os.ps1
|
PS> ./check-os.ps1
|
||||||
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script queries the operating system status and prints it.
|
This PowerShell script queries the operating system status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-os.ps1
|
PS> ./check-os.ps1
|
||||||
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -64,7 +64,7 @@ try {
|
|||||||
$InstallDate = $OSDetails.InstallDate
|
$InstallDate = $OSDetails.InstallDate
|
||||||
|
|
||||||
$ProductKey = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" -Name BackupProductKeyDefault).BackupProductKeyDefault
|
$ProductKey = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" -Name BackupProductKeyDefault).BackupProductKeyDefault
|
||||||
Write-Host "✅ $Name $Arch (v$Version, since $($InstallDate.ToShortDateString()), S/N $Serial, P/K $ProductKey)"
|
Write-Host "✅ $Name $Arch since $($InstallDate.ToShortDateString()) (v$Version, S/N $Serial, P/K $ProductKey)"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -73,4 +73,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-outlook.ps1*
|
The *check-outlook.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-outlook.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-outlook.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:19)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-password.ps1*
|
The *check-password.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-password <String>
|
-password <String>
|
||||||
|
|
||||||
@ -94,4 +94,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-pending-reboot.ps1*
|
The *check-pending-reboot.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-pending-reboot.ps1
|
check-pending-reboot.ps1
|
||||||
|
|
||||||
@ -41,50 +41,48 @@ function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNull
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Reason = ""
|
$reply = "✅ No pending reboot"
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
if (Test-Path "/var/run/reboot-required") {
|
if (Test-Path "/var/run/reboot-required") {
|
||||||
$Reason = "found: /var/run/reboot-required"
|
$reply = "⚠️ Pending reboot (found: /var/run/reboot-required)"
|
||||||
Write-Host "⚠️ Pending reboot ($Reason)"
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$reason = ""
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") {
|
||||||
$Reason += ", ...\Auto Update\RebootRequired"
|
$reason += ", ...\Auto Update\RebootRequired"
|
||||||
}
|
}
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting") {
|
||||||
$Reason += ", ...\Auto Update\PostRebootReporting"
|
$reason += ", ...\Auto Update\PostRebootReporting"
|
||||||
}
|
}
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") {
|
||||||
$Reason += ", ...\Component Based Servicing\RebootPending"
|
$reason += ", ...\Component Based Servicing\RebootPending"
|
||||||
}
|
}
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts") {
|
||||||
$Reason += ", ...\ServerManager\CurrentRebootAttempts"
|
$reason += ", ...\ServerManager\CurrentRebootAttempts"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "RebootInProgress") {
|
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "RebootInProgress") {
|
||||||
$Reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'"
|
$reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "PackagesPending") {
|
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "PackagesPending") {
|
||||||
$Reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'"
|
$reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Value "PendingFileRenameOperations2") {
|
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Value "PendingFileRenameOperations2") {
|
||||||
$Reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'"
|
$reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" -Value "DVDRebootSignal") {
|
if (Test-RegistryValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" -Value "DVDRebootSignal") {
|
||||||
$Reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'"
|
$reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "JoinDomain") {
|
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "JoinDomain") {
|
||||||
$Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'"
|
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "AvoidSpnSet") {
|
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "AvoidSpnSet") {
|
||||||
$Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
||||||
}
|
}
|
||||||
if ($Reason -ne "") {
|
if ($reason -ne "") {
|
||||||
Write-Host "⚠️ Pending reboot (registry got $($Reason.substring(2)))"
|
$reply = "⚠️ Pending reboot (registry got $($reason.substring(2)))"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($Reason -eq "") {
|
Write-Host $reply
|
||||||
Write-Host "✅ No pending reboot"
|
|
||||||
}
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -92,4 +90,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
68
docs/check-pnp-devices.md
Normal file
68
docs/check-pnp-devices.md
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
The *check-pnp-devices.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script checks all Plug'n'PLay devices connected to the local computer.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/check-pnp-devices.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-pnp-devices.ps1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
FriendlyName Status InstanceId
|
||||||
|
------------ ------ ----------
|
||||||
|
Microsoft-Controller OK ROOT\SPACEPORT\0000
|
||||||
|
...
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Checks PnP devices
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script checks all Plug'n'PLay devices connected to the local computer.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./check-pnp-devices.ps1
|
||||||
|
|
||||||
|
FriendlyName Status InstanceId
|
||||||
|
------------ ------ ----------
|
||||||
|
Microsoft-Controller OK ROOT\SPACEPORT\0000
|
||||||
|
...
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
Get-PnpDevice | Where-Object {$_.Status -like "Error"} | Format-Table -property FriendlyName,Status,InstanceId
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-power.ps1*
|
The *check-power.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the power status and prints it.
|
This PowerShell script queries the power status and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-power.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-power.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-power.ps1
|
PS> ./check-power.ps1
|
||||||
⚠️ Battery at 9% · 54 min remaining · power scheme 'HP Optimized'
|
⚠️ Battery 9% only with 54min remaining (power scheme is 'HP Optimized')
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script queries the power status and prints it.
|
This PowerShell script queries the power status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-power.ps1
|
PS> ./check-power.ps1
|
||||||
⚠️ Battery at 9% · 54 min remaining · power scheme 'HP Optimized'
|
⚠️ Battery 9% only with 54min remaining (power scheme is 'HP Optimized')
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -54,37 +54,36 @@ try {
|
|||||||
$details = [System.Windows.Forms.SystemInformation]::PowerStatus
|
$details = [System.Windows.Forms.SystemInformation]::PowerStatus
|
||||||
[int]$percent = 100 * $details.BatteryLifePercent
|
[int]$percent = 100 * $details.BatteryLifePercent
|
||||||
[int]$remaining = $details.BatteryLifeRemaining / 60
|
[int]$remaining = $details.BatteryLifeRemaining / 60
|
||||||
|
$powerScheme = (powercfg /getactivescheme)
|
||||||
|
$powerScheme = $powerScheme -Replace "^(.*) \(",""
|
||||||
|
$powerScheme = $powerScheme -Replace "\)$",""
|
||||||
if ($details.PowerLineStatus -eq "Online") {
|
if ($details.PowerLineStatus -eq "Online") {
|
||||||
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||||
$reply = "✅ AC powered"
|
$reply = "✅ AC powered"
|
||||||
} elseif ($percent -ge 95) {
|
} elseif ($percent -ge 95) {
|
||||||
$reply = "✅ Battery $percent% full"
|
$reply = "✅ Battery full ($percent%, power scheme is '$powerScheme')"
|
||||||
} else {
|
} else {
|
||||||
$reply = "✅ Battery charging ($percent%)"
|
$reply = "✅ Battery charging ($percent%, power scheme is '$powerScheme')"
|
||||||
}
|
}
|
||||||
} else { # must be offline
|
} else { # must be offline
|
||||||
if (($remaining -eq 0) -and ($percent -ge 60)) {
|
if (($remaining -eq 0) -and ($percent -ge 60)) {
|
||||||
$reply = "✅ Battery $percent% full"
|
$reply = "✅ Battery $percent% full (power scheme is '$powerScheme')"
|
||||||
} elseif ($remaining -eq 0) {
|
} elseif ($remaining -eq 0) {
|
||||||
$reply = "✅ Battery at $percent%"
|
$reply = "✅ Battery at $percent% (power scheme is '$powerScheme')"
|
||||||
} elseif ($remaining -le 5) {
|
} elseif ($remaining -le 5) {
|
||||||
$reply = "⚠️ Battery at $percent% · ONLY $($remaining)min remaining"
|
$reply = "⚠️ Battery LOW ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')"
|
||||||
} elseif ($remaining -le 30) {
|
} elseif ($remaining -le 30) {
|
||||||
$reply = "⚠️ Battery at $percent% · only $($remaining)min remaining"
|
$reply = "⚠️ Battery low ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')"
|
||||||
} elseif ($percent -lt 10) {
|
} elseif ($percent -lt 10) {
|
||||||
$reply = "⚠️ Battery at $percent% · $($remaining)min remaining"
|
$reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') "
|
||||||
} elseif ($percent -ge 60) {
|
} elseif ($percent -ge 90) {
|
||||||
$reply = "✅ Battery $percent% full · $($remaining)min remaining"
|
$reply = "✅ Battery full ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')"
|
||||||
} else {
|
} else {
|
||||||
$reply = "✅ Battery at $percent% · $($remaining)min remaining"
|
$reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') "
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$powerScheme = (powercfg /getactivescheme)
|
|
||||||
$powerScheme = $powerScheme -Replace "^(.*) \(",""
|
|
||||||
$powerScheme = $powerScheme -Replace "\)$",""
|
|
||||||
$reply += " · power scheme '$powerScheme'"
|
|
||||||
}
|
}
|
||||||
Write-Output $reply
|
Write-Host $reply
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -92,4 +91,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-powershell.ps1*
|
The *check-powershell.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-powershell.ps1
|
check-powershell.ps1
|
||||||
|
|
||||||
@ -59,4 +59,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-ps1-file.ps1*
|
The *check-ps1-file.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given PowerShell script file(s) for validity.
|
This PowerShell script checks the given PowerShell script file(s) for validity.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ps1-file.ps1 [[-filePattern] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-ps1-file.ps1 [[-filePattern] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-filePattern <String>
|
-filePattern <String>
|
||||||
Specifies the file pattern to the PowerShell file(s)
|
Specifies the file pattern to the PowerShell file(s)
|
||||||
@ -26,7 +26,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ps1-file *.ps1
|
PS> ./check-ps1-file *.ps1
|
||||||
✔️ Valid PowerShell in myfile.ps1
|
✅ Valid PowerShell in myfile.ps1
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Script Content
|
|||||||
Specifies the file pattern to the PowerShell file(s)
|
Specifies the file pattern to the PowerShell file(s)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ps1-file *.ps1
|
PS> ./check-ps1-file *.ps1
|
||||||
✔️ Valid PowerShell in myfile.ps1
|
✅ Valid PowerShell in myfile.ps1
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -67,7 +67,7 @@ try {
|
|||||||
$syntaxError = @()
|
$syntaxError = @()
|
||||||
[void][System.Management.Automation.Language.Parser]::ParseFile($file, [ref]$null, [ref]$syntaxError)
|
[void][System.Management.Automation.Language.Parser]::ParseFile($file, [ref]$null, [ref]$syntaxError)
|
||||||
if ("$syntaxError" -ne "") { throw "$syntaxError" }
|
if ("$syntaxError" -ne "") { throw "$syntaxError" }
|
||||||
"✔️ Valid PowerShell in $($file.Name)"
|
"✅ Valid PowerShell in $($file.Name)"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -76,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-ram.ps1*
|
The *check-ram.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-ram.ps1
|
check-ram.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script queries the status of the installed RAM memory modules and prints it.
|
This PowerShell script queries the status of the installed RAM memory modules and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ram.ps1
|
PS> ./check-ram.ps1
|
||||||
✅ 16GB DDR4 RAM @ 3200MHz by Micron (in CPU0/CPU0-DIMM3 @ 1.2V)
|
✅ 16GB DDR4 RAM at 3200MHz/1.2V in CPU0/CPU0-DIMM3 by Micron
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -88,7 +88,7 @@ try {
|
|||||||
[float]$Voltage = $Bank.ConfiguredVoltage / 1000.0
|
[float]$Voltage = $Bank.ConfiguredVoltage / 1000.0
|
||||||
$Manufacturer = $Bank.Manufacturer
|
$Manufacturer = $Bank.Manufacturer
|
||||||
$Location = "$($Bank.BankLabel)/$($Bank.DeviceLocator)"
|
$Location = "$($Bank.BankLabel)/$($Bank.DeviceLocator)"
|
||||||
Write-Host "✅ $Capacity $Type @ $($Speed)MHz by $Manufacturer (in $Location @ $($Voltage)V)"
|
Write-Host "✅ $Capacity $Type at $($Speed)MHz,$($Voltage)V in $Location by $Manufacturer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
@ -98,4 +98,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-repo.ps1*
|
The *check-repo.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks.
|
This PowerShell script verifies the integrity of a local Git repository and performs maintenance tasks.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-repo.ps1 [[-pathToRepo] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-repo.ps1 [[-pathToRepo] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-pathToRepo <String>
|
-pathToRepo <String>
|
||||||
Specifies the file path to the local Git repository (current working directory by default)
|
Specifies the file path to the local Git repository (current working directory by default)
|
||||||
@ -27,7 +27,7 @@ Example
|
|||||||
```powershell
|
```powershell
|
||||||
PS> ./check-repo.ps1 C:\MyRepo
|
PS> ./check-repo.ps1 C:\MyRepo
|
||||||
⏳ (1/10) Searching for Git executable... git version 2.41.0.windows.3
|
⏳ (1/10) Searching for Git executable... git version 2.41.0.windows.3
|
||||||
⏳ (2/10) Checking local repository... 📂C:\MyRepo
|
⏳ (2/10) Checking local repository... C:\MyRepo
|
||||||
⏳ (3/10) Querying remote URL... git@github.com:fleschutz/PowerShell.git
|
⏳ (3/10) Querying remote URL... git@github.com:fleschutz/PowerShell.git
|
||||||
⏳ (4/10) Querying current branch... main
|
⏳ (4/10) Querying current branch... main
|
||||||
⏳ (5/10) Fetching remote updates... OK
|
⏳ (5/10) Fetching remote updates... OK
|
||||||
@ -58,7 +58,7 @@ Script Content
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-repo.ps1 C:\MyRepo
|
PS> ./check-repo.ps1 C:\MyRepo
|
||||||
⏳ (1/10) Searching for Git executable... git version 2.41.0.windows.3
|
⏳ (1/10) Searching for Git executable... git version 2.41.0.windows.3
|
||||||
⏳ (2/10) Checking local repository... 📂C:\MyRepo
|
⏳ (2/10) Checking local repository... C:\MyRepo
|
||||||
⏳ (3/10) Querying remote URL... git@github.com:fleschutz/PowerShell.git
|
⏳ (3/10) Querying remote URL... git@github.com:fleschutz/PowerShell.git
|
||||||
⏳ (4/10) Querying current branch... main
|
⏳ (4/10) Querying current branch... main
|
||||||
⏳ (5/10) Fetching remote updates... OK
|
⏳ (5/10) Fetching remote updates... OK
|
||||||
@ -83,7 +83,7 @@ try {
|
|||||||
Write-Host "⏳ (2/10) Checking local repository... " -noNewline
|
Write-Host "⏳ (2/10) Checking local repository... " -noNewline
|
||||||
$FullPath = Resolve-Path "$pathToRepo"
|
$FullPath = Resolve-Path "$pathToRepo"
|
||||||
if (!(Test-Path "$FullPath" -pathType Container)) { throw "Can't access folder: $FullPath" }
|
if (!(Test-Path "$FullPath" -pathType Container)) { throw "Can't access folder: $FullPath" }
|
||||||
"📂$FullPath"
|
"$FullPath"
|
||||||
|
|
||||||
Write-Host "⏳ (3/10) Querying remote URL... " -noNewline
|
Write-Host "⏳ (3/10) Querying remote URL... " -noNewline
|
||||||
& git -C "$FullPath" remote get-url origin
|
& git -C "$FullPath" remote get-url origin
|
||||||
@ -121,7 +121,7 @@ try {
|
|||||||
|
|
||||||
$repoDirName = (Get-Item "$FullPath").Name
|
$repoDirName = (Get-Item "$FullPath").Name
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Checked repo 📂$repoDirName in $($elapsed)s."
|
"✅ Checked 📂$repoDirName repo in $($elapsed)s."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -129,4 +129,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-repos.ps1*
|
The *check-repos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script verifies the data integrity of all Git repositories in a folder.
|
This PowerShell script verifies the data integrity of all Git repositories in a folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-repos.ps1 [[-parentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-parentDir <String>
|
-parentDir <String>
|
||||||
Specifies the file path to the parent folder
|
Specifies the file path to the parent folder
|
||||||
@ -29,7 +29,7 @@ PS> ./check-repos.ps1 C:\Repos
|
|||||||
⏳ Checking parent folder 📂C:\Repos... 16 subfolders
|
⏳ Checking parent folder 📂C:\Repos... 16 subfolders
|
||||||
⏳ Checking 📂rust repository (1/16)...
|
⏳ Checking 📂rust repository (1/16)...
|
||||||
...
|
...
|
||||||
✔️ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
✅ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -56,7 +56,7 @@ Script Content
|
|||||||
⏳ Checking parent folder 📂C:\Repos... 16 subfolders
|
⏳ Checking parent folder 📂C:\Repos... 16 subfolders
|
||||||
⏳ Checking 📂rust repository (1/16)...
|
⏳ Checking 📂rust repository (1/16)...
|
||||||
...
|
...
|
||||||
✔️ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
✅ Checked all 16 Git repos in 📂C:\Repos in 356s.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -83,7 +83,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s."
|
"✅ Checked all $numFolders Git repos in 📂$parentDir in $($elapsed)s."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -91,4 +91,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repos.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-santa.ps1*
|
The *check-santa.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Saint Nicholas Day and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-santa.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-santa.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -56,4 +56,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-smart-devices.ps1*
|
The *check-smart-devices.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-smart-devices.ps1
|
check-smart-devices.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it.
|
This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-smart-devices.ps1
|
PS> ./check-smart-devices.ps1
|
||||||
✅ 1TB Samsung SSD 970 EVO via NVMe (37°C, 2388 hours, 289x on/off, v2B2QEXE7, selftest passed)
|
✅ 1TB Samsung SSD 970 EVO 1TB via NVMe (35°C, 6142h, 770x on/off, 34TB read, 64TB written, v2B2QEXE7, test passed)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,18 +48,15 @@ function Bytes2String([int64]$bytes) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "(1/3) Searching for smartmontools..."
|
|
||||||
$result = (smartctl --version)
|
$result = (smartctl --version)
|
||||||
if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" }
|
if ($lastExitCode -ne "0") { throw "Can't execute 'smartctl' - make sure smartmontools are installed" }
|
||||||
|
|
||||||
Write-Progress "(2/3) Scanning S.M.A.R.T devices..."
|
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$devices = $(sudo smartctl --scan-open)
|
$devices = $(sudo smartctl --scan-open)
|
||||||
} else {
|
} else {
|
||||||
$devices = $(smartctl --scan-open)
|
$devices = $(smartctl --scan-open)
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Progress "(3/3) Querying S.M.A.R.T devices..."
|
|
||||||
foreach($device in $devices) {
|
foreach($device in $devices) {
|
||||||
$array = $device.split(" ")
|
$array = $device.split(" ")
|
||||||
$dev = $array[0]
|
$dev = $array[0]
|
||||||
@ -81,34 +78,41 @@ try {
|
|||||||
} else {
|
} else {
|
||||||
$capacity = ""
|
$capacity = ""
|
||||||
}
|
}
|
||||||
|
$infos = ""
|
||||||
if ($details.temperature.current -gt 50) {
|
if ($details.temperature.current -gt 50) {
|
||||||
$temp = "$($details.temperature.current)°C (!)"
|
$infos = "$($details.temperature.current)°C TOO HOT"
|
||||||
|
$status = "⚠️"
|
||||||
|
} elseif ($details.temperature.current -lt 0) {
|
||||||
|
$infos = "$($details.temperature.current)°C TOO COLD"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} else {
|
} else {
|
||||||
$temp = "$($details.temperature.current)°C"
|
$infos = "$($details.temperature.current)°C"
|
||||||
}
|
}
|
||||||
if ($details.power_on_time.hours -gt 87600) { # 10 years
|
if ($details.power_on_time.hours -gt 87600) { # 10 years
|
||||||
$hours = "$($details.power_on_time.hours) hours (!)"
|
$infos += ", $($details.power_on_time.hours)h (!)"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} else {
|
} else {
|
||||||
$hours = "$($details.power_on_time.hours) hours"
|
$infos += ", $($details.power_on_time.hours)h"
|
||||||
}
|
}
|
||||||
if ($details.power_cycle_count -gt 100000) {
|
if ($details.power_cycle_count -gt 100000) {
|
||||||
$powerOn = "$($details.power_cycle_count)x on/off (!)"
|
$infos += ", $($details.power_cycle_count)x on/off (!)"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} else {
|
} else {
|
||||||
$powerOn = "$($details.power_cycle_count)x on/off"
|
$infos += ", $($details.power_cycle_count)x on/off"
|
||||||
}
|
}
|
||||||
|
if ($details.nvme_smart_health_information_log.host_reads) {
|
||||||
|
$infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_read * 512 * 1000)) read"
|
||||||
|
$infos += ", $(Bytes2String ($details.nvme_smart_health_information_log.data_units_written * 512 * 1000)) written"
|
||||||
|
}
|
||||||
|
$infos += ", v$($details.firmware_version)"
|
||||||
if ($details.smart_status.passed) {
|
if ($details.smart_status.passed) {
|
||||||
$selftest = "selftest passed"
|
$infos += ", test passed"
|
||||||
} else {
|
} else {
|
||||||
$selftest = "selftest FAILED"
|
$infos += ", test FAILED"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
}
|
}
|
||||||
$firmwareVersion = $details.firmware_version
|
Write-Host "$status $capacity$modelName via $protocol ($infos)"
|
||||||
Write-Host "$status $capacity$modelName via $protocol ($temp, $hours, $powerOn, $selftest, v$firmwareVersion)"
|
|
||||||
}
|
}
|
||||||
Write-Progress -completed " "
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -116,4 +120,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 05/19/2024 10:25:18)*
|
*(page generated by convert-ps2md.ps1 as of 01/23/2025 12:15:20)*
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user